On 29 Mar 2006, at 12:42, JoseLuis de la Rosa Triviño wrote: > I want to allow the user to login and save password for two weeks > (as in gmail). I need to modify the expiration date of the __ac > cookie, but looking at cookie_authentication gives me no clue, > neither logged_in.py. Can anyone help me? The default cookie crumbler will use a setAuthCookie script, if present, to set the cookie. CMFDefault/skins/control/setAuthCookie.py is an example, just copy it in your product and customize it. Just add the appropriate expires= parameter to resp.setCookie. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com fg at nuxeo.com
Hosting: Nuxeo: Zope service provider