Re: Sessio variables and Load Balancing
| From: | Stanislav Malyshev | Date: | Fri, 30 Jun 2000 06:21:22 +0000 |
| Subject: | Re: Sessio variables and Load Balancing | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-23007@lists.php.net to get a copy of this message | ||
JB>> But we all know how unreliable and slow NFS is on linux and probably other
JB>> platforms, a better solution is to use your database of choice and store
JB>> cookies there.
JB>> An article on phpbuilder.com
JB>> (http://phpbuilder.com/columns/ying20000602.php3) highlights how to write
JB>> custom session handlers to do just that.
JB>> not only would this be fast and effecient, it would allow multiple webserver
JB>> to pull sessions from a common database.
One should be aware, though, that if 2 scripts use same session data in
parallel, they'll get unexpected results.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665