Am Dienstag, 10. Juli 2007 13:30 schrieb Mason: > Hello, I'm a newbie to Dajngo (using version 0.96). I am trying to > keep a particular web page from being cached, ie. I don't want the > user to be able to hit the "Back" button on the browser and use the > previous page to resubmit data to the server.
That's the cache of the browser. You can't control it with django. You can't disable the web browser cache. You need to handle it. One solution is to put an hidden field into the form. The content could be e.g. the mtime. If you get the request the first time, you need to store somehow that you received this value. If you get the same hidden value again, you need to refuse the POST request. Thomas --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---