[Zope] CookieUserFolder - how to force a logout

Mark Langkau mlangkau@mail-03.pbmplus.com
Sun, 22 Jul 2001 10:55:16 -0500 (CDT)


Thanks Jens

That's exactly what I need - just in time. You guys rock!

Cheers,
Mark

On Sat, 21 Jul 2001, Jens Vagelpohl wrote:

> mark,
> 
> there's a method called "logOut" in the CookieUserFolder class. that's 
> what you want to use to log someone out.
> 
> you can use it in a logout-link (link to the user folder URL and append 
> "/logOut") or you can use it in a simple form that posts to that same url.
> 
> the standard implementation redirects to the standard built-in logout-page 
> which you can override by dropping a page named "logout" into the cookie 
> user folder, which could in itself simply redirect wherever you want.
> 
> jens
> 
> 
> On Saturday, July 21, 2001, at 06:18 , Mark Langkau wrote:
> 
> > Hi,
> >
> > I'm trying to figure out how to logout a user with CookieUserFolder.
> > Can someone provide an example of using a link to logout a user?  I'd
> > like to add this to standard_html_header. Looks like a great tool, but
> > the docs are a bit sparse for my limited knowledge.  (That's my problem,
> > not the authors). An example would be helpful.  This would be a great
> > addition to the Zope core!
> >
> > I'll keep looking at the code and post an example if I figure it out ;-)
> >
> > Thanks,
> > Mark
> >
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
>