Link to home
Start Free TrialLog in
Avatar of limin123
limin123

asked on

Passing Session variables across Browser windows.

HI! How can I pass variables between different windows in IE? I noticed that when I open a new window using "window.open("URL")", the session variables for the original window are not valid in the new window. How can I work around this?
I am using ASP with VBscript.

Thanx.
Avatar of jonalee
jonalee

Really, does the URL different with you parent window?
For example, the parent use www.er.com, but the new opened window use 178.0.0.2?
If yes, then you can not get the session variable. For the browser think you are querying a new site.

Avatar of limin123

ASKER

I managed to solve the problem by using query strings to pass the session variables to the new window.

Thanx anyway.
ASKER CERTIFIED SOLUTION
Avatar of moshiX
moshiX

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
GREETINGS!

This question was awarded, but never cleared due to the JSP-500 errors of that time.  It was "stuck" against userID -1 versus the intended expert whom you awarded.  This corrects the problem and the expert will now receive these points; points verified.

Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them.  If you are an EE Pro user, you can also choose Power Search to find all your open questions.

This is the Community Support link, if help is needed, along with the link to All Topics which reflects many TAs recently added.  Also in the Community Support link is a question on how experts can help, if they wish, on the cleaning of old and abandoned questions.

https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
https://www.experts-exchange.com/jsp/zonesAll.jsp
 
Thank you,
Moondancer
Moderator @ Experts Exchange