Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session cookies lost when new window launched from form

Status
Not open for further replies.

rshearin

Programmer
Jan 16, 2007
5
US
New to asp.net - and only using it for a few days for a small project. I have a WebBrowser control inside of a form. On the webpage served inside the control from IIS, I set several session cookies. I have verified that these get set by printing them on subsequent pages. However, if launch a new browser window using javascript(to be able to control the window attributes), a new browser session id is being created and I am unable to access the session cookies.

1) What exactly is happening? Why is a new session being created? If I do all of this in IE or FireFox directly, a new session is not created.
2) Can anyone suggest a solution?

Thank you in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top