[PHP-DEV] Re: PHP 4.0 Bug #4989 Updated: Sessions:: Add Ability to extend Cookie expire times. From: Aaron Bush (abush <email protected>)
Date: 07/20/00

Bug Database wrote:
>
> ID: 4989
> Updated by: sterling
> Reported By: abush <email protected>
> 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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>