Re: Cache/Cookies
| From: | jeremy brand | Date: | Tue, 21 Nov 2000 01:40:46 +0000 |
| Subject: | Re: Cache/Cookies | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26374@lists.php.net to get a copy of this message | ||
> Is there any command that can stop a page from being cached? I am having a hard time setting
> cookies... as the page keeps caching.
There are many ways. One such way would be to append a timestamp on
the url. See this:
http://www.ibiblio.org/Dave/Dr-Fun/latest.jpg?2000112017
See, how I append a timestamp. This timestamp is generated at each
page view, and becomes different every so often.
You can also send HTTP no-cache headers, but this doesn't always work.
-jeremy brand
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more
- - - - - - - - - - - - - - - - - - - - - - - - -
I am pleased to see that we have differences. May we together become
greater than the sum of both of us.
-- Surak of Vulcan, "The Savage Curtain", stardate 5906.4