note 30371 added to function.session-start

From: Date: Sat, 15 Mar 2003 18:18:13 +0000
Subject: note 30371 added to function.session-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-45361@lists.php.net to get a copy of this message
OK; so unfortunately session_start(), which must be used whenever we want to have access to session variables, sends headers back to the browser even when all we want to do is read the variables and not change or create any. There's a different function, session_readonly(), which from what the documentation says would let us read the session vars without sending any output to the browser (and thus eliminating the need for ob_start() and other such hacks). Butbutbut: session_readonly() doesn't work (for me)! Has anyone been able to use it? -- http://www.php.net/manual/en/function.session-start.php http://master.php.net/manage/user-notes.php?action=edit+30371 http://master.php.net/manage/user-notes.php?action=delete+30371 http://master.php.net/manage/user-notes.php?action=reject+30371

« previous php.notes (#45361) next »