note 9173 deleted from Session handling functions by sniper
| From: | sniper@php.net | Date: | Mon, 02 Jul 2001 09:52:41 +0000 |
| Subject: | note 9173 deleted from Session handling functions by sniper | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14879@lists.php.net to get a copy of this message | ||
For those of you having problems with caching, PHP4 (when compiled with session support) adds four
headers to all responses! Pragma, Cache-Control, Last-Modified, and Expires. While the session
functions can control these, there is now way to let the browser perform caching on it's own.
If you want to change this, just change the following lines in ext/session/session.c and then
recompile.
CHANGE:
#define ADD_COOKIE(a) sapi_add_heade(a, strlen(a), 1);
TO
#define ADD_COOKIE(a)