It's:
<dtml-raise Unauthorized>
You are not authorized.
</dtml-raise>
> -----Original Message-----
> From: Chris Withers [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 30, 2000 8:48 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Zope] How to logout users when using LoginManager?
>
>
> 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. I think
> most fo the
> Login-type stuff has interfaces to do this for you (like the
> logout link
> on zope.org)
>
> With Basic Auth it's a bit tricky. Basic Auth really only works 'cos
> browsers cache your username and password and send it each time you
> request a new page that it thinks those details apply to. So you just
> have to persuade the browser to stop cachign that info ;-)
>
> I think you can do something like:
>
> <dtml-raise Unauthorized>
>
> which works on most of the browsers around. I don't know
> though, maybe I
> got the syntax wrong :S
>
> cheers,
>
> Chris
>
> _______________________________________________
> 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 )
>
_______________________________________________
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 )