note 77686 added to function.session-regenerate-id
| From: | dbks at dbks dot com dot ar | Date: | Sat, 08 Sep 2007 16:58:50 +0000 |
| Subject: | note 77686 added to function.session-regenerate-id | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-130317@lists.php.net to get a copy of this message | ||
I wish to force.open.eyes=1 to all of you (like me 5 minutes ago) Didnt noticed the title, (i can
see that some of you guys didnt too)
session_regenerate_id();
ok read it again,
session_regenerate_id (------);
param (TRUE) / (FALSE {default})
ok, now you have a clue lol :p
for all of you guys (fast readers) that are trying to set the old id to a variable and then
regenerate, and then save the new id on a new var, and then set the actual session to the old id,
Destroy it, and then set the session to the new id... blabla
session_regenerate_id (TRUE);
will do the job easier !!
-param Bool for deleting old session-
works perfect, enjoy lol
----
Server IP: 80.64.47.13
Probable Submitter: 190.64.95.69
----
Manual Page -- http://www.php.net/manual/en/function.session-regenerate-id.php
Edit -- https://master.php.net/note/edit/77686
Del: integrated -- https://master.php.net/note/delete/77686/integrated
Del: useless -- https://master.php.net/note/delete/77686/useless
Del: bad code -- https://master.php.net/note/delete/77686/bad+code
Del: spam -- https://master.php.net/note/delete/77686/spam
Del: non-english -- https://master.php.net/note/delete/77686/non-english
Del: in docs -- https://master.php.net/note/delete/77686/in+docs
Del: other reasons-- https://master.php.net/note/delete/77686
Reject -- https://master.php.net/note/reject/77686
Search -- https://master.php.net/manage/user-notes.php