Re: Shared SessionIDs?
| From: | Chris Shiflett | Date: | Tue, 04 Nov 2003 23:36:19 +0000 |
| Subject: | Re: Shared SessionIDs? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168524@lists.php.net to get a copy of this message | ||
--- 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