note 102783 added to function.session-id

From: Date: Sun, 06 Mar 2011 17:19:41 +0000
Subject: note 102783 added to function.session-id
Groups: php.notes 
Request: Send a blank email to php-notes+get-177596@lists.php.net to get a copy of this message
If you look at the notes on cookies (set_cookie I think), you will see that you can not read a cookie on the page that it is set. That is because the cookies are sent with the page request which comes, of course, before your PHP is run. You have to wait until the next page request from the same source to read the cookie. ---- Server IP: 192.41.42.26 Probable Submitter: 64.113.115.162 ---- Manual Page -- http://www.php.net/manual/en/function.session-id.php Edit -- https://master.php.net/note/edit/102783 Del: integrated -- https://master.php.net/note/delete/102783/integrated Del: useless -- https://master.php.net/note/delete/102783/useless Del: bad code -- https://master.php.net/note/delete/102783/bad+code Del: spam -- https://master.php.net/note/delete/102783/spam Del: non-english -- https://master.php.net/note/delete/102783/non-english Del: in docs -- https://master.php.net/note/delete/102783/in+docs Del: other reasons-- https://master.php.net/note/delete/102783 Reject -- https://master.php.net/note/reject/102783 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#177596) next »