[CPS-devel] Re: Modify __ac cookie expiration date.

Olivier Grisel ogrisel at nuxeo.com
Wed Mar 29 12:53:32 CEST 2006


JoseLuis de la Rosa Triviño a écrit :
> 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?
> 

You can grep for setCookie in the CookieCrumbler code in the CMFCore product
  http://svn.nuxeo.org/trac/pub/file/vendor/CMF/tags/1.6.0/CMFCore/CookieCrumbler.py

And here is the implementation of the setCookie method:

http://svn.zope.org/Zope/trunk/lib/python/ZPublisher/HTTPResponse.py?rev=41461&view=markup

-- 
Olivier



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.