Re: Dealing with session expiry

From: Date: Sat, 18 Oct 2003 22:04:04 +0000
Subject: Re: Dealing with session expiry
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-166623@lists.php.net to get a copy of this message
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 >

« previous php.general (#166623) next »