note 88890 deleted from function.session-set-save-handler by thiago
| From: | thiago@php.net | Date: | Thu, 12 Feb 2009 12:28:14 +0000 |
| Subject: | note 88890 deleted from function.session-set-save-handler by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-150566@lists.php.net to get a copy of this message | ||
Note Submitter: sxs at secret dot com
----
I had a great fuck up with race conditions in php and database session savings. The problem is that
PHP is not realy designed for multihost loadballanced asynchronous enviremonts! And the most
statements out there from "professional" PHP developers ar: "Thats the flaw of HTTP,
not of PHP". Thats a little bit dump. Why, and how to "workarround" the problem some
one described in detaile here: http://thwartedefforts.org/
2006/11/11/
race-conditions-with-ajax-and-php-sessions/
PS: I had to add some line breaks to the URL obove, cause this f*** crap system says: "Your
note contains a bit of text that will result in a line that is too long, even after using
wordwrap()."