For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > January 2005 > Opening a new page (i.e., spawning new IE window) via JavaScript kills the Session va









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Opening a new page (i.e., spawning new IE window) via JavaScript kills the Session va
POL8985

2005-01-31, 4:00 pm

When I deploy an ASP.Net onto a customer's IIS 6.0 server, the Session
variable is nuked for any new page opened by JavaScript.

However, this works fine when I am running the ASP.Net in debug mode on
my machine.

Any suggestions?

The JavaScript is:
<script>window.open('../ReportForms/frmReportViewer.aspx','blank_')</script>
Thanks:

Pat

Kevin Spencer

2005-01-31, 4:00 pm

How different browser windows either share or don't share Session state is
dependent upon the browser being used by the client. IOW, it's unreliable.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"POL8985" <pol8985@njit.edu> wrote in message
news:1107185606.549804.313640@c13g2000cwb.googlegroups.com...
> When I deploy an ASP.Net onto a customer's IIS 6.0 server, the Session
> variable is nuked for any new page opened by JavaScript.
>
> However, this works fine when I am running the ASP.Net in debug mode on
> my machine.
>
> Any suggestions?
>
> The JavaScript is:
> <script>window.open('../ReportForms/frmReportViewer.aspx','blank_')</script>
> Thanks:
>
> Pat
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com