k_murli_krishna
asked on
HttpSession Problem in New Window
I am facing an issue with HttpSession when trying to open new windows in my web application and trying to acess the session from the new windows and want your expertise in solving this problem.
Here is the scenario:
1. The web application is opened in a browser(IE) window, this creates a new session and the JSP adds some stuff to the session.
2. Down the line in the app using the menu's user invokes a JSP in a new browser window using window.open JavaScript command.
3. This JSP tries to get some information from the session (which was added by the opening JSP), but our requirement is to get the fresh values in new browser window
without effecting the existing parent browser window.
4. In a way down, when I refresh the browser in the parent window, am getting the values which are fetched in the new window, which leads to change of values for parent window.
Is there a way I can aviod this.
Here is the scenario:
1. The web application is opened in a browser(IE) window, this creates a new session and the JSP adds some stuff to the session.
2. Down the line in the app using the menu's user invokes a JSP in a new browser window using window.open JavaScript command.
3. This JSP tries to get some information from the session (which was added by the opening JSP), but our requirement is to get the fresh values in new browser window
without effecting the existing parent browser window.
4. In a way down, when I refresh the browser in the parent window, am getting the values which are fetched in the new window, which leads to change of values for parent window.
Is there a way I can aviod this.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Could you make them request attributes instead of session attributes ?
If not then do you have some way to start new IE process ? ( for example; mouse click on IE icon in bottom tray )