Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookie expiration does not update after access #200

Closed
drum445 opened this issue Oct 15, 2020 · 1 comment
Closed

Cookie expiration does not update after access #200

drum445 opened this issue Oct 15, 2020 · 1 comment

Comments

@drum445
Copy link

drum445 commented Oct 15, 2020

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

@amol-
Copy link
Collaborator

amol- commented Mar 15, 2025

This was a problem for SessionCookie, it should now be fixed

@amol- amol- closed this as completed Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants