-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
How to set session timeout ? #1713
Comments
Currenly, only two ad-hoc options: save timestamp into session ids or specify cookie expiration (applicable only with cookie session transport) |
I filed a separate issue for the feature request: #1925. |
FWIW, I was able to work around this by defining my own SessionTracker.
Unfortunately the builder functions on the Sessions feature don't allow for specifying your own SessionTracker, so you have to do something like this:
|
How can I set a timeout on my session? I'm using sessions in combination with headers as said in the document (better for api/xhr). But I can't seem to find anything on how to expire my session after some time.
My session class looks like:
The text was updated successfully, but these errors were encountered: