Re: Php application with session used in a cluster

From: Date: Wed, 12 Dec 2012 19:06:08 +0000
Subject: Re: Php application with session used in a cluster
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-319858@lists.php.net to get a copy of this message
On 12/12/2012 05:19 AM, Jan Vávra wrote:
Hello, we are considering to use a php on several application servers behind the apache mod_proxy_balancer. Our php app is using session cookies. And we would like to use session stickyness - once the user connects to app server X and gets the session cookie, all other request will be ballanced (reverse proxied) to the app server X. We have these theoretical possibilities:
[...]
Can anybody give me an advice?
Why not use database driven sessions? Their are many examples on the net of how to setup such a system to replace the file based system used by default.
Thanks. Jan.
-- Jim Lucas http://www.cmsws.com/ http://www.cmsws.com/examples/

« previous php.general (#319858) next »