Why I get new session with new request from new browser window on same machine?
posted 12 years ago
I am not sure, what I am doing wrong here but using the following code, when ever I make a request from new browser window from the same machine it starts a new session. But if I repeatedly make requests from one window it doesn't starts new but keeps on adding info in the old session object as per logic. I am using Tomcat 5. Please see the code of servlet and jsp that calls it. And I would appreciate if somebody could tell me why its happening. As per my understanding requests made from same machine, no matter from different browser windows should be pointing to the same Session object.