[CPS-devel] Modify __ac cookie expiration date.

Georges Racinet gracinet at nuxeo.com
Wed Mar 29 12:56:09 CEST 2006


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




More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.