-
Notifications
You must be signed in to change notification settings - Fork 11
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
adjust_xxx docs #41
Comments
Sorry, I somehow missed the notification on this. I put a response on my todo list. |
Hope this helps, @hyperknot
There are three potential expiry mechanisms across two concepts and two hooks:
I added the |
Thanks a lot for the detailed response! Yes I was the one who wanted to support that. For me
|
The only thing those 2 functions do is to adjust the internal payloads, as seen here They're both really just there to provide an interface for developers to adjust these values, which has been necessary a few times over the years, and not to support a specific use-case. |
First of all thanks for implementing the different cookie adjust methods, it's great! I've read the updated readme and the PRs, however some small things are still not clear:
adjust_cookie_expires
- clear what it does, might not be supported in WebOb 1.9+?adjust_cookie_max_age
- clear what it does, this will be supported in WebOb in the future right?I guess the same is true for the .ini settings.
cookie_expires=
support on creating - hasn't this always been the case when using .ini settings?adjust_session_timeout
this is clear, changes the TTL value in Redisadjust_session_expires
this is the confusing one for me. Readme says thatexpires
is only used in cookie context, nothing to do with Redis, except forIf Redis stores our Timeout info, it stores it in an "expiry" value via SETEX or similar calls.
I'm only using the "basic" scenario with only
timeout
specified.The text was updated successfully, but these errors were encountered: