note 9172 added to header

From: Date: Thu, 19 Oct 2000 23:34:23 +0000
Subject: note 9172 added to header
Groups: php.notes 
Request: Send a blank email to php-notes+get-6721@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) http://www.php.net/manual/function.header.php

« previous php.notes (#6721) next »