RE: [PHP] Dealing with session expiry

From: Date: Sun, 19 Oct 2003 19:45:11 +0000
Subject: RE: [PHP] Dealing with session expiry
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-166666@lists.php.net to get a copy of this message
I use it with skins on a web page, users coming in can pick a theme and for the duration of their visit they have the theme(it's an illustrator website) the problem that I having is that session expiry will cause that site to fall apart after idle time. I notice sites using login detect expiry automatically and refrest the pages + session, I just don't quite know how to apprach it. R> > -----Original Message----- > From: Zilvinas [mailto:araki@delfi.lt] > Sent: October 18, 2003 3:04 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Dealing with session expiry > > > Hello, > > Why are you saving such information into a session? Sessions are > for temporary information. Use cookies or database, if you are > doing what you are saying :) There should be no harm. > > Bye. > > > I have some pages that use sessions to call out certain elements in the > > layouts. It allows user to decide how should their pages look for the > > duration of their visit. > > > > Unfortunately whenever a user leaves their browser idle past > the expity time > > of the session on their next click pages fall apart and all > styles etc. are > > lost. > > > > I understand that I can detect or at least anticipate expiry of > the session > > and renew it before it does. The question is how? > > > > Thanks in advance > > > > R> > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#166666) next »