[Zope] How to logout users when using LoginManager?

Oleg Broytmann phd@mail2.phd.pp.ru
Wed, 30 Aug 2000 13:07:50 +0000 (GMT)


On Wed, 30 Aug 2000, Chris Withers wrote:
> Brad Clements wrote:
> > Can anyone share some tips on how to logout users from a web page,
> > using cookies or otherwise, allowing them to relogin as another user
> > without having to quit/start their browser?
> 
> Well, with cookies, it's simple: delete the cookie.

   You cannot just delete the cookie 'cuase Zope is server, but cookies are
on client side. You are to send "delete" command to browser, but there is
no "delete cookie" command in cookie protocol :(
   You have to expire the cookie to really delete it from the browser.

Oleg.
---- 
     Oleg Broytmann            http://phd.pp.ru/            phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.