note 104477 rejected from function.session-cache-limiter by danbrown

From: Date: Fri, 17 Jun 2011 13:53:59 +0000
Subject: note 104477 rejected from function.session-cache-limiter by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-180641@lists.php.net to get a copy of this message
Note Submitter: steve at mrclay dot org ---- Small documentation bug that left me scratching my head: The Last-Modified header is NOT populated by "the timestamp of when the session was last saved" ($_SESSION doesn't influence this value at all). The date is actually the mtime of $_SERVER['SCRIPT_FILENAME'] (the first file executed). (Note this makes Last-Modified wildly inaccurate and IMO session_start() should not send it.) I noticed this because I couldn't figure out where this value was coming from (it wasn't in the serialized session nor did it match the mtime of the session file). FYI, this is on Apache/2.2.14 (OSX) PHP/5.3.1 (OSX).

« previous php.notes (#180641) next »