SUMMARY: When viewing an ASP.NET website using Windows Explorer, pop-ups do not βborrowβ session cookies from the parent window.
DETAILS:
I am working on an ASP.NET website (.NET 2.0). I am using FormsAuthentication. You must use cookies to process the session.
I have a button on the page. When the user clicks on it, a popup window opens. A popup window displays an ASPX page that uses session variables previously set in the parent browser window. I tested the website using IE (6, 7, 8) and Firefox 2.0. In all these browsers, the popup window has access to the same session as the parent browser window, and everything works fine.
I now have an error caused by the client, stating that a popup is displaying an error. If you look at the log file, I see that this is a NullReferenceException at the moment the pop-up page is trying to access session variables. Talking with a client, he said that he had opened the main website in Windows Explorer.
I was able to recreate the problem on a test computer and saw that the popup was using a new session.
The machine must have Win XP installed with IE6! With IE7, the site works fine.
source share