Issue87

Title auth_tkt: Cookies will always expire when the user agent is closed
Priority feature Status chatting
Superseder Nosy List Gustavo
Assigned To Gustavo Topics repoze.who

Created on 2009-06-01.06:17:18 by Gustavo, last changed 2010-04-20.17:11:50 by tseaver.

Files
File name Uploaded Type Edit Remove
auth_tkt-max_age.diff Gustavo, 2009-06-01.06:17:17 text/x-patch
Messages
msg399 (view) Author: tseaver Date: 2010-04-20.17:11:50
repoze.who 1.0.14 added 'timeout' and 'reissue_time' parameters to the auth_tkt:
 does that resolve this issue?
msg347 (view) Author: lu_zero Date: 2010-02-18.08:36:23
Looks like feature had been implemented independently 

in remember now you get

max_age = identity.get('max_age', None)

and _get_cookies correctly sets it
msg232 (view) Author: Gustavo Date: 2009-06-01.06:17:17
The auth_tkt is not able to set for how long cookies should last, and as a consequence,
developers who want users to be remembered even after closing their agents have to
subclass this plugin to implement this feature.

The attached patch implements this feature. I will apply it if it looks good to you, Chris.
History
Date User Action Args
2010-04-20 17:11:50 tseaver set messages: + msg399
2010-02-18 08:36:36 lu_zero set messages: - msg346
2010-02-18 08:36:23 lu_zero set messages: + msg347
2010-02-18 08:34:31 lu_zero set status: unread -> chatting
messages: + msg346
2009-06-01 06:17:18 Gustavo create