RE: Using tabbed browsers causes session sharing

2008-08-15 Thread Nathan E. Pilling
I've found that if I set the maxAge of the cookie to -1 (which means the cookie 
should only exist until the browser exits) that on Internet Explorer each 
window I open the session is different. Each tab shares the session.

In Firefox, the session is shared by all tabs and windows.


-Original Message-
From:   Bill Davidson [mailto:[EMAIL PROTECTED]
Sent:   Fri 8/15/2008 2:14 PM
To: Tomcat Users List
Cc: 
Subject:Re: Using tabbed browsers causes session sharing

Robert Dietrick wrote:
 Why would you want the same person logged in twice
 with different accounts?
   

As a developer of a web app that has both admin and regular user roles,
I want to do this all the time.  The admin roles can change things in ways
that affect the regular user's view.  I want to see how things change
without having to log out and log back in as a different user.

The way I deal with it is to use Firefox for one and IE for the other.



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

mod_jk load balancing and cluster node health

2008-06-16 Thread Nathan E. Pilling
Is it possible to configure mod_jk to check node status by requesting a 
specific web application path to see if a cluster node is healthy (and should 
be included or excluded from the cluster)?

I have a web application that runs across multiple tomcat instances and any 
request be processed by any tomcat node. If an instance of the web app on one 
of the tomcat servers is not configured properly, I want the connector to 
exclude it from the cluster.

I have written a servlet that returns a status of 503 if something is wrong or 
200 if everything is okay.

Thanks,
Nathan Pilling