Sounds like you're using the default session handling with cookies.  Switch to the URL-rewriting mode with your code (Google for this, and it might be a bit of work).  Now, for the new window, do not send the token in the URL to the server.  Server should issue a brand-new session to that window (but the user will have to login again of course).
 
Another benefit of using URL-rewriting is that this application will work with any user-configuration of the browser (like Amazon.com).
 
Greg
 
-----Original Message-----
From: Himanshu Goel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 6:05 AM
To: JDJList
Subject: [jdjlist] how to create new web session programatically

Hi All,
I have a requirement wherein.....On click of a link in a JSP, response from the WebServer should come in the new browser window and a new web session should start in that new browser. The previous session in the old browser window is still valid.
Now, I can keep the target of this request as new browser using Java Script. But I don't know how to start a new web session for this request and that too without invalidating the old session.
If anybody can tell me how to do that..that would be a great help...I am using JRun as Web Server.
 
regards
Himanshu
____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________
____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

Reply via email to