I have a web browser in a c# application. Some of the web pages viewed through the web browser have a form that submit to a new window which opens IE through the window.open javascript function. The problem I'm having is that the session created in the web browser doesn't transfer to IE when the new window is opened. I want to know if there is a way to keep the session in the new IE window or if there is a way to add the session variables to the new window when it opens?
-
If you ran the same pages directly in a browser, would they maintain session id?John Saunders– John Saunders2009-06-22 16:55:20 +00:00Commented Jun 22, 2009 at 16:55
-
Yes. If I had IE open, the session is maintained in a cookie so it's available to any IE browser window.Scott Chantry– Scott Chantry2009-06-22 17:10:10 +00:00Commented Jun 22, 2009 at 17:10
Add a comment
|
1 Answer
You can pass information to IE in the URL in the querystring; a little coordination on the server side will allow you to use that to have the IE window have linked session information to the C# app that opened the IE window.
2 Comments
Paul Sonier
I doubt that it can be done, then; I believe what you're running up against is a specific security issue.