cache control and cookies...
| From: | Gerard Samuel | Date: | Fri, 31 May 2002 23:52:59 +0000 |
| Subject: | cache control and cookies... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-100193@lists.php.net to get a copy of this message | ||
I dont know too much about cache control, but some of the users who use my script,
has problems with cookies. They are able to log in and the cookie is set and they click a link and get booted out.
This past week, we noticed that when we commented out
header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header ("Cache-Control: no-cache, must-revalidate");
header ("Pragma: no-cache");
they had no problems. Im looking for others who had similar experiences, and a fix if possible.
Im not sure if its because the expires time is too far back. The cookie's lifetime is 1 month.
Thanks
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/