Thanks for the input Kirk!
Unfortunately, I don't have the ability modify my php.ini (virtual hosting).
Also, if I saved the session data in the database, I'd have to perform a
database query to get it at the beginning of each page. That's probably not
good for performance. :/
option #1 interests me.... what do you use to achieve this? I might be
able to suggest it to my host... they are extremely accommodating.
I think option #3 is the best solution, if it's possible. (I'm not sure if
it is or not without modifying the php.ini file) I've been trying to to
figure it out. My host is also looking into a fix, so when I find something
out, I'll let you all know. :)
-Jason
----- Original Message -----
From: "Johnson, Kirk" <[EMAIL PROTECTED]>
To: "PHP Users" <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 12:24 PM
Subject: RE: [PHP] Reprise of dissapearing session variables
> > session files get saved in /tmp by default, correct? Is
> > there a way to have
> > them saved somewhere that would propogate to all the servers
> > in the cluster?
>
> Warning! The following is from me, a non-gearhead.
>
> 1. We use a load balancer which is able to set a cookie on the first page
> request. The cookie contains the ID of the server that handles that first
> request. On all subsequent requests, the cookie is used to route the
request
> to the original server.
>
> 2. Haven't done this, but you could also put the session data in a
database.
> See the php.ini file for the session handler setting.
>
> 3. I believe I read that there is a way to save the session files to a
drive
> that is mountable by all the cluster servers. End of my knowledge on this
> one!
>
> Kirk
>
> --
> 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]
>
>
--
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]