RE: Load Balancing and PHP Sessions
| From: | Philip Hallstrom | Date: | Thu, 25 Apr 2002 23:08:10 +0000 |
| Subject: | RE: Load Balancing and PHP Sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94690@lists.php.net to get a copy of this message | ||
Or save it to a common database... and it could have something to do with
session.cooke_domain.
A cooke set explicity to www1.test.com won't be viewable on www2.test.com,
but if you set the domain to ".test.com" it will...
On Thu, 25 Apr 2002, Dan Harrington wrote:
>
> Couldn't you store the session information on disk using sessions.save
> on an NFS volume that is shared between machines?
>
>
> Dan
>
> > -----Original Message-----
> > From: Baumann Reto [mailto:rbaumi@bluewin.ch]
> > Sent: Thursday, April 25, 2002 3:39 PM
> > To: php-general@lists.php.net
> > Subject: Load Balancing and PHP Sessions
> >
> >
> > Is it possible to have sessions (via cookie) on a load balanced environment?
> > Therefore having
> > www1.test.com
> > and www2.test.com
> >
> > and share the same sessions? The systems can access the same file-system,
> > but it seems that the session is not passed. Could this have something to do
> > with session.cookie_domain?
> >
> > Thanks for any help
> >
> > Reto
> >
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>