[1906] in WWW Security List Archive
Re: how do I keep a browser from caching files
daemon@ATHENA.MIT.EDU (David Ray)
Wed Apr 24 18:03:59 1996
Date: Wed, 24 Apr 1996 12:39:57 -0800
To: www-security@ns2.rutgers.edu
From: daver@idiom.com (David Ray)
Errors-To: owner-www-security@ns2.rutgers.edu
The definitive answer:
1. Keep the data from being cached in the fat.db file with the HTTP header:
Pragma: no-cache
2. Keep the data from being cached in memory with the HTTP header:
HTTP/1.0 500 Error
3. Keep the POST data from being cached by using a redirect between the
form submission and the resulting page
You need to use CGI's to achieve each of these. You can't achieve them with
code on HTML pages.
-Dave