[Zope-CMF] Automatic login to CMF

Dieter Maurer dieter@handshake.de
Tue, 19 Mar 2002 23:06:34 +0100


Pieter Claerhout writes:
 > Any code examples on how to do this?
Look at the "Remember my name" in the CMF Default login process.

Do what's done with "__ac_name" also with "__ac".
 > 
 > Pieter
 > 
 > ----- Original Message ----- 
 > From: "Dieter Maurer" <dieter@handshake.de>
 > To: <pieter.claerhout@pandora.be>
 > Cc: <zope-cmf@zope.org>
 > Sent: Friday, March 08, 2002 9:02 PM
 > Subject: Re: [Zope-CMF] Automatic login to CMF
 > 
 > 
 > > Pieter Claerhout writes:
 > >  > can anyone point me to a way of automatically logging in to CMF? I'm
 > >  > gettting tired of always having to login in every time I start a new
 > >  > browser.
 > > You need to make the "__ac" cookie persistent (i.e. give it an
 > > "expires" argument far in the future (not sure about spelling!)).
 > > 
 > > You are aware that this may be a security risk.


Dieter