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/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to