login as member and manager with one browser on CMF
Hi to all, Is it possible to login as a user and manager in two windows with the same browser on CMF? To login as a certain user I shutdown my mozilla completey, and call CMF with the users homepage URL. Then I open a second window as a manager and login. If I do anything in the user window, I find me logged in as the manager in the reply window. How can I avoid this? Switching off cookies? No - Then I have to enter the pword everytime, haven't I?? Thanks, Florian
Florian Konnertz writes:
Is it possible to login as a user and manager in two windows with the same browser on CMF?
To login as a certain user I shutdown my mozilla completey, and call CMF with the users homepage URL. Then I open a second window as a manager and login.
If I do anything in the user window, I find me logged in as the manager in the reply window.
How can I avoid this?
Switching off cookies? No - Then I have to enter the pword everytime, haven't I?? This is not a Zope but a browser question:
* When I use Netscape 6 (under Linux!), two independently started Netscape processes do not share login information and session cookies. One Netscape process can work as Manager, the other as normal user. However, opening just another window will not create a new Netscape process but work in the old one. The portal would see all requests as coming from Manager. * With Konqueror (again Linux), even two independently started Konqueror processes share the same login information and cookies. No way to work as both Manager and user at the same time. It is necessary to close *all* Konqueror processes and restart with a new identity. I expect, the Konqueror startup tries to be intelligent: when a new process starts, it looks for already running instances. If it finds one, it delegates to the already running process. Thus, probably, I have only a single process, even when I thought I started several. Sometimes, intelligence is messy.... Dieter
A sneaky way to do this: Use Virtual Host Monster (and DNS) and define two different names for your site. Then they will have different cookies and you can log in as two different users. on 4/21/02 3:58 PM, Dieter Maurer at dieter@handshake.de scrivened:
Florian Konnertz writes:
Is it possible to login as a user and manager in two windows with the same browser on CMF?
Authentication cookies are associated with an URL. One approach I often use is to access the site via apache on port 80 (e.g., using VirtualHostMonster) while "simultaneously" accessing the same site with it's ZServer port (e.g., 8080). Now you can have completely different cookies set for the same site in two different windows. -steve On Sunday, April 21, 2002, at 09:28 AM, Florian Konnertz wrote:
Hi to all, Is it possible to login as a user and manager in two windows with the same browser on CMF?
To login as a certain user I shutdown my mozilla completey, and call CMF with the users homepage URL. Then I open a second window as a manager and login.
If I do anything in the user window, I find me logged in as the manager in the reply window.
How can I avoid this?
Switching off cookies? No - Then I have to enter the pword everytime, haven't I??
Thanks, Florian
_______________________________________________ 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 )
participants (4)
-
Dieter Maurer -
Florian Konnertz -
Marc Lindahl -
Steve Spicklemire