tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Lipscombe <>
Subject Sharing session across IE windows
Date Thu, 21 Feb 2008 17:32:13 GMT

I have a perplexing problem. I don't think its a tomcat issue but maybe someone else has encountered

In my app I spawn a new IE window with I want the new window to share the same

session as the parent, because it needs to access some session data.

I find that sometimes the new window shares the session, but sometimes a new session is created.
the latter case the session data is not available and the app fails. When a new session is
repeated calls that spawn the same child window all seem to re-use this new

I cannot determine what makes the new window session share the session sometimes but not others.
seems completely random.

I have a tried couple of things:

1. Giving the window a unique name in the call like this:, "W+<%=session.getId()", options);

2. Passing the session ID to as part of the url like this:
    var myUrl = url + ";JSESSIONID=<%=session.getId()" ,....)

Neither of these make it work reliably.
My research shows that its probably an IE issue, and the general rule of thumb is not to try
share sessions across multiple windows 

Does anyone have any ideas about this?

TIA - Adam

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message