I'm building a
Struts web application where after a user logs on to the site, they can perform a search of certain data stored in our system. I've found a problem, however, that if a user has two open browser windows(the same browser), and performs a concurrent search with varying search criteria, then the results, which I have stored in a session object, will be comprimised due to browsers using the same jsession id via cookies. When using two different browsers, eg Firefox and IE, the problem does not exist. I'm wondering if there is some way to prevent this from happening, without getting rid of the cookie stored jsessionid.
I originally found this problem when I tried logging on as two different users, with two browser windows, and the second login would take over the session. ie when I went back to the first browser window, it would switch from the original logged in user to the user who I logged in as in the other window.
Sorry if these descriptions are vague or confusing, but this problem has been annoying me for a while and I can't figure out how to solve it, as I would prefer to use cookies instead of url rewriting.