how can i change the lifetime of a session

20 views
Skip to first unread message

Guillermo Martel

unread,
Nov 7, 2014, 5:55:54 PM11/7/14
to web...@googlegroups.com


This is the scenario:

I want to add a checkbox in a login page that enable a session to live a long time, something like "remember my password" checkbox.
if i set the max age in the webapp2 config,  all the cookies will have the same max age, but actually i want to "remember my password" only for those users that have check this option on login.
can i change the liftime of the session an the cookie inside of a requestHandler method, but before that the session is created?

I will appreciate your help.

- Guillermo -
Reply all
Reply to author
Forward
0 new messages