note 113745 added to function.session-regenerate-id
| From: | kgm_india at yahoo dot co dot in | Date: | Mon, 25 Nov 2013 11:40:37 +0000 |
| Subject: | note 113745 added to function.session-regenerate-id | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-197632@lists.php.net to get a copy of this message | ||
as far as I have understood reading this online notes,
session_name() is the name which is identified as session a through the cookies or http links.
session_id is like a transaction within a session_name() and one session_name may have many
session_id
each session_id has the corresponding data stored.
session_id are used in read and write callback under a session_name
whatever it is, first call the
session_name(),
then call session_id ()
and then call start_session()
start_session will open the session_name, then check the session_id called before and use it in the
read or write call back for storing or retrieving data
calling start_session() without session_name or session_id will use the default session_name and the
default session_id in that order
I hope if the order is followed there should not be any problems.
do not call session_name or session_id after start_session(), if you are specific on using them.
thank you for others note.
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/function.session-regenerate-id.php
Edit -- https://master.php.net/note/edit/113745
Del: integrated -- https://master.php.net/note/delete/113745/integrated
Del: useless -- https://master.php.net/note/delete/113745/useless
Del: bad code -- https://master.php.net/note/delete/113745/bad+code
Del: spam -- https://master.php.net/note/delete/113745/spam
Del: non-english -- https://master.php.net/note/delete/113745/non-english
Del: in docs -- https://master.php.net/note/delete/113745/in+docs
Del: other reasons-- https://master.php.net/note/delete/113745
Reject -- https://master.php.net/note/reject/113745
Search -- https://master.php.net/manage/user-notes.php