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

beaker.session class documentation wrong about cookie_expires (expiration of the session cookie) #240

Open
Chealer opened this issue May 7, 2024 · 0 comments

Comments

@Chealer
Copy link

Chealer commented May 7, 2024

The documentation of session.beaker specifies its cookie_expires parameter as follows:

Expiration date for cookie

Just looking at the defaults suffices to see this is incorrect. In reality, the value can also be a boolean (false or true) or a duration. The code of _set_cookie_expires() confirms the above definition is highly misleading.

Moreover, there is no explanation of how cookie_expires relates to timeout.

Ticket #116 tracks that even the Configuration documentation page is incomplete on the topic, and ticket #31 tracks that it is wrong.

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

1 participant