ASP.NET Session and target blank

Posted by Lennart on Stack Overflow See other posts from Stack Overflow or by Lennart
Published on 2010-06-16T06:58:51Z Indexed on 2010/06/16 7:02 UTC
Read the original article Hit count: 267

Filed under:
|

Hi

I have seen a few posts regarding Session and using target blank to open a new page. But I still don´t get it.

Im working with an application which opens from a link on an Intranet site. I guess it uses target blank to get it in a new window. (I don´t have the source).

If both windows are closed (My application and the Intranet site) it seems like the Session is destroyed. I need that to happen when my application is closed. (ie, still leaving the Intranet site open).

If I use the site in my testenvironment without opening it from a page with target blank, it seems like I get the expected behaviour.

Web.config has: pages enableSessionState="true"

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET