--- "CPT John W. Holmes" <[EMAIL PROTECTED]> wrote:
> > Now, I am testing the interaction of 2+ servers working together. From
> > SERVERA I create and echo the my SID using "echo session_start(); echo
> > session_id();echo $SID;", and then I follow a link (within the same
> > browser session) to SERVERB and then do the exact same 3 calls.
> >
> > They give me different $SID ???
> 
> When you go from SERVERA to SERVERB, you do not carry over the same
> session ID, though. SERVERB, not seeing a session id passed to it,
> starts it's own session. You need to pass SID in the URL when linking
> to the different servers.

Are SERVERA and SERVERB in the same cluster? I might be misunderstanding
the situation here, but I thought this was the point of msession - to
provide a seamless session data store among a cluster of servers without
needing to store the session data in a database.

I would think that whether the session ID was passed on the URL, in a
cookie, or anything else, it would be sent with each request, because the
browser doesn't distinguish between the servers - the load balancer
handles all of the requests.

Chris

=====
My Blog
     http://shiflett.org/
HTTP Developer's Handbook
     http://httphandbook.org/
RAMP Training Courses
     http://www.nyphp.org/ramp

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to