Reuse another ASP.NET session (set Session ID)

Posted by queen3 on Stack Overflow See other posts from Stack Overflow or by queen3
Published on 2010-06-03T13:10:18Z Indexed on 2010/06/03 13:14 UTC
Read the original article Hit count: 637

Filed under:
|

My problem is that when I open web application from Outlook in a separate IE window, the ASP.NET session is lost. This is (as described in several places) because in-memory cookie is lost.

So it goes like this:

  1. User works with ASP.NET web application in Outlook, and this stores some info in ASP.NET session
  2. User clicks Print to open new IE window with print-ready data
  3. The new window has different ASP.NET session ID and can't access old data.

I think, maybe, if I pass ASP.NET session ID to new IE window, I can somehow "attach" to that session? Tell ASP.NET that this is the one that I need to be current?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-session