RE: [PHP] Re: Sessions Getting Broken

From: Date: Tue, 11 Sep 2001 10:53:23 +0000
Subject: RE: [PHP] Re: Sessions Getting Broken
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66908@lists.php.net to get a copy of this message
session_start(); if (!session_is_registered("Session")) { toStart(2); exit; }; $Session = $GLOBALS[Session]; This is what I do on every page. I don't think it's timeout, since the session might get broken just after 5 minutes. function toStart() is used to move user to the login page with an error code. Niklas -----Original Message----- From: _lallous [mailto:elias_bachaalany@yahoo.com] Sent: 11. syyskuuta 2001 14:35 To: php-general@lists.php.net Subject: Re: [PHP] Re: Sessions Getting Broken Can't tell like that.... No more ideas....maybe somecode would help?! "Niklas lampén" <niklas.lampen@publico.fi> wrote in message news:NPEFKEPHNLKEPEOLHPKNEEPLCEAA.niklas.lampen@publico.fi... > Hmm.. How do I know how fast they timeout? And it seems that all of my users > drop at the same time, not sure about it thou. > > session.cache_expire is set to 180. > session.cookie_lifetime is 0. > > Maybe those do tell you something and you tell me more! :) > > > Niklas > > -----Original Message----- > From: _lallous [mailto:elias_bachaalany@yahoo.com] > Sent: 11. syyskuuta 2001 13:09 > To: php-general@lists.php.net > Subject: [PHP] Re: Sessions Getting Broken > > > Maybe it's getting timed out? > > "Niklas lampén" <niklas.lampen@publico.fi> wrote in message > news:NPEFKEPHNLKEPEOLHPKNOEPGCEAA.niklas.lampen@publico.fi... > > I have a database update system and I regonize users with sessions. > > Sometimes sessions just broke with no sane (for me at least) reason. > > > > Any ideas what may cause this, it's pretty anoying if you have updated 20 > > fields, try to submit the form and then you get kicked out of the > system!?! > > Otherwise my sessions work great. :) > > > > > > > > Niklas > > > > > > -- > 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 > -- 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 (#66908) next »