note 79104 added to function.session-write-close

From: Date: Sun, 11 Nov 2007 10:10:28 +0000
Subject: note 79104 added to function.session-write-close
Groups: php.notes 
Request: Send a blank email to php-notes+get-132180@lists.php.net to get a copy of this message
I had a problem with sessions and header("Location: URL"). The session cookie was created, however every time I call session_start() a new session file was created. Please note, that the solution is in php.ini: session.referer_check is the option. I have changed it to a location x and when I tried to start up session in location y, the session cookies were invalid. ---- Server IP: 69.147.83.197 Probable Submitter: 78.142.62.45 ---- Manual Page -- http://www.php.net/manual/en/function.session-write-close.php Edit -- https://master.php.net/note/edit/79104 Del: integrated -- https://master.php.net/note/delete/79104/integrated Del: useless -- https://master.php.net/note/delete/79104/useless Del: bad code -- https://master.php.net/note/delete/79104/bad+code Del: spam -- https://master.php.net/note/delete/79104/spam Del: non-english -- https://master.php.net/note/delete/79104/non-english Del: in docs -- https://master.php.net/note/delete/79104/in+docs Del: other reasons-- https://master.php.net/note/delete/79104 Reject -- https://master.php.net/note/reject/79104 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#132180) next »