If you need to turn on long expiration manually, you can include the
following code:
session.auth.expiration = response.session_cookie_expires = auth.
settings.long_expiration
session.auth.remember = True
If your code does an immediate redirect after login, then you don't need to
set response.session_cookie_expires (it will be set by Auth on the next
request).
Anthony
On Tuesday, February 18, 2014 5:21:23 AM UTC-5, Robin Manoli wrote:
>
> Is there a way to use the functionality of remember me when using
> login_bare? If so, how?
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.