On Mar 29, 2006, at 12:42 PM, JoseLuis de la Rosa Triviño wrote: > Hello, > > 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? Hi, you'll find example in HTTPResponse unit tests which are here: ZOPE_HOME/lib/python/ZPublisher/tests/testHTTPResponse.py Then you'll have to patch cookie auth, I'm afraid (be careful). Note that this is pure CMF stuff, AFAIK. --------- Georges Racinet Nuxeo SAS gracinet at nuxeo.com http://nuxeo.com Tel: +33 (0) 1 40 33 71 73
Hosting: Nuxeo: Zope service provider