note 117756 added to class.sessionhandler
| From: | rasmus at mindplay dot dk | Date: | Mon, 03 Aug 2015 09:08:09 +0000 |
| Subject: | note 117756 added to class.sessionhandler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-203250@lists.php.net to get a copy of this message | ||
As the life-cycle of a session handler is fairly complex, I found it difficult to understand when
explained using just words - so I traced the function calls made to a custom SessionHandler, and
created this overview of precisely what happens when you call various session methods:
https://gist.github.com/mindplay-dk/623bdd50c1b4c0553cd3
I hope this makes it considerably easier to implement a custom SessionHandler and get it right the
first time :-)
----
Server IP: 72.52.91.14
Probable Submitter: 193.163.97.225
----
Manual Page -- http://php.net/manual/en/class.sessionhandler.php
Edit -- https://master.php.net/note/edit/117756
Del: integrated -- https://master.php.net/note/delete/117756/integrated
Del: useless -- https://master.php.net/note/delete/117756/useless
Del: bad code -- https://master.php.net/note/delete/117756/bad+code
Del: spam -- https://master.php.net/note/delete/117756/spam
Del: non-english -- https://master.php.net/note/delete/117756/non-english
Del: in docs -- https://master.php.net/note/delete/117756/in+docs
Del: other reasons-- https://master.php.net/note/delete/117756
Reject -- https://master.php.net/note/reject/117756
Search -- https://master.php.net/manage/user-notes.php