note 104477 added to function.session-cache-limiter

From: Date: Thu, 16 Jun 2011 22:13:59 +0000
Subject: note 104477 added to function.session-cache-limiter
Groups: php.notes 
Request: Send a blank email to php-notes+get-180632@lists.php.net to get a copy of this message
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). ---- Server IP: 69.147.83.197 Probable Submitter: 128.227.79.85 ---- Manual Page -- http://www.php.net/manual/en/function.session-cache-limiter.php Edit -- https://master.php.net/note/edit/104477 Del: integrated -- https://master.php.net/note/delete/104477/integrated Del: useless -- https://master.php.net/note/delete/104477/useless Del: bad code -- https://master.php.net/note/delete/104477/bad+code Del: spam -- https://master.php.net/note/delete/104477/spam Del: non-english -- https://master.php.net/note/delete/104477/non-english Del: in docs -- https://master.php.net/note/delete/104477/in+docs Del: other reasons-- https://master.php.net/note/delete/104477 Reject -- https://master.php.net/note/reject/104477 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#180632) next »