Re: Reprise of dissapearing session variables

From: Date: Mon, 10 Sep 2001 18:29:44 +0000
Subject: Re: Reprise of dissapearing session variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66798@lists.php.net to get a copy of this message
Yeah, we narrowed it down to the cluster as causing the problem friday night. My host is working to figure out a solution. They have a few ideas, but haven't tested them yet. 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? Has anyone out there been faced with this before? How did you get around it, or did you just give up? Thanks! Jason ----- Original Message ----- From: "Johnson, Kirk" <kjohnson@zootweb.com> To: "PHP Users" <php-general@lists.php.net> Sent: Monday, September 10, 2001 7:17 AM Subject: RE: [PHP] Reprise of dissapearing session variables > > The session variables will remain set, but will it looks > > like my session gets lost every now and then.... if you want > > to see an example, go to > > http://northpointless.org/test.php > > and hit refresh several times. I cannot figure out what is happening. > > Did you get this figured out? It looks like you are running on a > load-balanced web farm. If so, and you are saving session data in files, > there's your problem. The session file is saved on the server that handles > the first request. When later requests go to a different machine, the > session file can't be found, since it is on the first server. > > Kirk > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#66798) next »