[Zope] making authentication permanent?
Florent Guillaume
fg@nuxeo.com
Fri, 7 Jun 2002 16:03:08 +0000 (UTC)
John Doe <gvd_76@yahoo.com> wrote:
> I would like to make authentication permanent (ie once
> successfully logged in, no relogin required after
> closing browser). I've set the 'cookie lifetime' to
> 600 days but this does not seem to help.
>
> Anyone knows how to achieve this permanent
> authentication?
Try to customize the setAuthCookie Python Script and add an
expires='Wed, 19 Feb 2020 14:28:00 GMT'
(or some other date) parameter to the setCookie call.
Florent
--
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com