note 9172 deleted from function.header by jimw

From: Date: Wed, 31 Oct 2001 21:44:39 +0000
Subject: note 9172 deleted from function.header by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-19748@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)

« previous php.notes (#19748) next »