Malcolm Tredinnick wrote:
> The minor problem with that approach is that it means people can avoid > the Django counter and directly fetch the URL. So if counting is a > requirement, that solution needs an extra tweak to ensure that you have > first visited the counter page. This can be done with a nonce in the URL > or a session setting. Good spot. Note that I did a double take on 'nonce' since I've only seen it as (UK?) prison slang for a sex offender. My thinking now is that if you are going to have to set up something on the apache side of things to handle nonces then you may as well find an apache-side download counter that increments on each GET. What not to do is to grep access_log every time you want a count. Especially if you have one of those 'Downloaded 634234 times' badges. Ick. Barry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---