Re: PHP 4.0 Bug #4989 Updated: Sessions:: Add Ability to extend Cookie expire times.

From: Date: Thu, 20 Jul 2000 18:55:04 +0000
Subject: Re: PHP 4.0 Bug #4989 Updated: Sessions:: Add Ability to extend Cookie expire times.
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-25273@lists.php.net to get a copy of this message
Bug Database wrote: > > ID: 4989 > Updated by: sterling > Reported By: abush@microcenter.com > Status: Closed > Bug Type: Feature/Change Request > Assigned To: > Comments: > > session_set_cookie_params(). > > Full Bug description available at: http://bugs.php.net/?id=4989 I thought this function would allow you to modify the expire time (session.lifetime) on the cookie that is sent to a request that is _not_ already in a session. What I was looking for was a way in which you would force the session module to resend the same cookie to a user that their browser just sent us, however the expire time field would be a updated (incremented, decremented). example: if a new session (first visit) then set session.lifetime to Now + 30 minutes that way the browser will clear out the session cookie for us in 30 minutes. However if the user is active on the site and visits before the 30 minutes are up i would like to instruct the session module to send them their session cookie again but with now + 30 minutes, thus prolonging the lifetime of their session with each request. maybe i missed the function of ini setting that allows this? If it is already available directly or indirectly then I apologize. Thanks, -ab

« previous php.dev (#25273) next »