beaker icon indicating copy to clipboard operation
beaker copied to clipboard

Cookie expiration does not update after access

Open drum445 opened this issue 5 years ago • 0 comments

When accessing a cookie, the expiration date should be updated. For example, if my session.cookie_expires is 500, the expiry date of the cookie should always be last_accessed + 500 seconds.

Is this the expected behaviour for beaker, as it is for Sinatra, PHP and Flask?

Currently I have to use a before_request hook and call _update_cookie_out to make this possible

drum445 avatar Oct 15 '20 21:10 drum445