RE: [PHP] Shared SessionIDs?
| From: | Guillaume Dupuis | Date: | Wed, 05 Nov 2003 15:27:38 +0000 |
| Subject: | RE: [PHP] Shared SessionIDs? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168571@lists.php.net to get a copy of this message | ||
I'll try the 'msession' road.
Thanks again for everybody's input,
Guillaume
-----Original Message-----
From: Chris Shiflett [mailto:shiflett@php.net]
Sent: Tuesday, November 04, 2003 6:36 PM
To: Guillaume Dupuis; php-general@lists.php.net
Subject: Re: [PHP] Shared SessionIDs?
--- Guillaume Dupuis <guillaume.dupuis@sand.com> wrote:
> We currently have 3 php servers. Can we use the same SessionID to
> connect across the 3 systems?
Yes, assuming I understand you correctly.
There are many ways to address this challenge, but one method is to use a
database for your session store. This database can be on one of your three
servers or somewhere else.
A similar approach is to use an NFS mount to create a virtual filesystem
for storing session data. Yet another approach is the msession PHP
extension.
Hope that helps.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp