note 96982 added to function.session-write-close
| From: | Anonymous at osu1 dot php dot net | Date: | Thu, 25 Mar 2010 19:44:57 +0000 |
| Subject: | note 96982 added to function.session-write-close | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-167420@lists.php.net to get a copy of this message | ||
You can have interesting fun debugging anything with sleep() in it if you have a session still
active. For example, a page that makes an ajax request, where the ajax request polls a server-side
event (and may not return immediately).
If the ajax function doesn't do session_write_close(), then your outer page will appear to
hang, and opening other pages in new tabs will also stall.
----
Server IP: 87.124.86.46
Probable Submitter: 87.194.171.29 (proxied: 87.194.171.29)
----
Manual Page -- http://www.php.net/manual/en/function.session-write-close.php
Edit -- https://master.php.net/note/edit/96982
Del: integrated -- https://master.php.net/note/delete/96982/integrated
Del: useless -- https://master.php.net/note/delete/96982/useless
Del: bad code -- https://master.php.net/note/delete/96982/bad+code
Del: spam -- https://master.php.net/note/delete/96982/spam
Del: non-english -- https://master.php.net/note/delete/96982/non-english
Del: in docs -- https://master.php.net/note/delete/96982/in+docs
Del: other reasons-- https://master.php.net/note/delete/96982
Reject -- https://master.php.net/note/reject/96982
Search -- https://master.php.net/manage/user-notes.php