note 112082 added to sessionhandlerinterface.open
| From: | svenr at selfhtml dot org | Date: | Tue, 30 Apr 2013 21:28:24 +0000 |
| Subject: | note 112082 added to sessionhandlerinterface.open | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194674@lists.php.net to get a copy of this message | ||
This method should acquire an exclusive lock on the resource that is about to be used to read and
write the session data.
The lock should only be released in the close method.
Note that this will effectively serialize parallel requests, which affects performance for a single
user session.
Not locking the resource would on the other hand allow for race conditions if two or more parallel
requests change the session data.
----
Server IP: 213.172.110.14
Probable Submitter: 178.26.46.21
----
Manual Page -- http://php.net/manual/en/sessionhandlerinterface.open.php
Edit -- https://master.php.net/note/edit/112082
Del: integrated -- https://master.php.net/note/delete/112082/integrated
Del: useless -- https://master.php.net/note/delete/112082/useless
Del: bad code -- https://master.php.net/note/delete/112082/bad+code
Del: spam -- https://master.php.net/note/delete/112082/spam
Del: non-english -- https://master.php.net/note/delete/112082/non-english
Del: in docs -- https://master.php.net/note/delete/112082/in+docs
Del: other reasons-- https://master.php.net/note/delete/112082
Reject -- https://master.php.net/note/reject/112082
Search -- https://master.php.net/manage/user-notes.php