users@glassfish.java.net

Re: Multiple domain administration

From: <glassfish_at_javadesktop.org>
Date: Tue, 14 Sep 2010 03:15:10 PDT

You will need different domain names - you can't have both open as localhost within the same browser. This is because the session cookie is stored using the domain name ("localhost") and logging on to the second console will overwrite the first session. An alias to localhost (eg my-pc) in the second browser should work fine and is easy to set up.

The simplest solution is to use two different browsers (Firefox, IE, Chrome or Safari are all good) and have only a single console per browser (eg . use Firefox for http://localhost:4848 and IE for http://localhost:4849). Each browser stores cookies in a different location and they will not conflict with each other.
[Message sent by forum member 'ggierer']

http://forums.java.net/jive/thread.jspa?messageID=482701