[Zope] Question: user homepages

Michel Pelletier michel@digicool.com
Wed, 14 Jul 1999 11:10:10 -0400


> -----Original Message-----
> From: Phil Harris [mailto:phil@philh.org]
> Sent: Wednesday, July 14, 1999 3:48 AM
> To: Alexander Staubo; Zope Mailing List (E-mail); cg@cdegroot.com
> Subject: Re: [Zope] Question: user homepages
> 
> > >BTW: is there a way to log out from the management environment
> > >so you can
> > >connect as a user with less privileges for testing purposes?
> >
> > That's browser-specific -- Zope's management interface does not do
> > persistent logins. Just open a new browser instance. In IE 5.0, just
> > open a new window.
> 
> Couldn't you just raise Unauthorized, that should then reset 
> the security
> and allow you to login again.
> 
> e.g.
> 
> <!--#raise Unauthorized-->
> <!--#/raise-->
> 
> This works with PHP3 for instance but I've not tried it with 
> Zope (yet).
> 

Yep this can be done.  I think what Alexander meant by browser specific
is that the browser caches the Basic auth info in it's own peculiar way,
some browsers make the information persistent in all windows, some only
in the window which did the original authentication.

-Michel

> HTH
> 
> Phil
> phil@philh.org
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>