Re: Adjusting Session Times

From: Date: Tue, 14 Sep 2010 14:43:16 +0000
Subject: Re: Adjusting Session Times
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-308063@lists.php.net to get a copy of this message
> My thought is to adjust the session expiration in the table based on the > client currently logged in. > > I don't know if there's a better way, but I would probably just do that. The expiration would be set to whatever the client's preference is, and default to 8 hours if he doesn't have one. You may want to set some checks to ensure that the client's preference is within a specific range (e.g. between 30 minutes and 16 hours). Chris.

« previous php.general (#308063) next »