Re: Session support in a web farm
| From: | Jon Parise | Date: | Sat, 19 Aug 2000 17:13:57 +0000 |
| Subject: | Re: Session support in a web farm | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12594@lists.php.net to get a copy of this message | ||
On Sat, Aug 19, 2000 at 12:06:46PM -0500, Andy Ward wrote:
> Is there a way to have php4 on multiple servers *safely* share the
> session data directory? These servers would be in a web farm, all
> load balanced at the request or connection level (haven't decided on
> that yet). We would rather not use session-based load balancing,
> for scalability reasons. Can this be done?
I use a central database to cache the shared session data. My
PostgreSQL session handler is available here:
http://www.csh.rit.edu/~jon/projects/php/pgsql_session_handler/
--
Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/ : Computer Science House
Member