You have to pass the SID between servers and change the directory in which
you store session files to a common location.
You can pass the SID only once, after that the second server will set a
cookie...
in the first page you can put something like this <img
src="theotherserver.com/fakeimage.php?SID">
--------------------------
Federico
[EMAIL PROTECTED]
--------------------------
Michael Champagne <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]
> Is it possible to handle sessions with PHP between separate web servers?
We
> have 2 Apache servers and would like to share session data between them.
If
> we keep the session data on an NFS mounted drive -- will this work? Would
it
> be better to write custom session handlers to store session data in a
database
> accessible from both servers? It seems like this should be possible, but
I'm
> not quite sure how to go about doing it. Also, this is on 2 separate
> platforms. One is RedHat Linux 7.1 and the other server is on AIX 4.3.3.
>
> Thanks in advance for any replies,
> Mike
>
>
>
> ******************************************************************
> This communication is for informational purposes only. It is not
> intended as an offer or solicitation for the purchase or sale of
> any financial instrument or as an official confirmation of any
> transaction, unless specifically agreed otherwise. All market
> prices, data and other information are not warranted as to
> completeness or accuracy and are subject to change without
> notice. Any comments or statements made herein do not
> necessarily reflect the views or opinions of Capital Institutional
> Services, Inc. Capital Institutional Services, Inc. accepts no
> liability for any errors or omissions arising as a result of
> transmission. Use of this communication by other than intended
> recipients is prohibited.
> ******************************************************************
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]