Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP.NET Session Variables

Status
Not open for further replies.

HeathHol

Programmer
Jun 3, 2004
14
0
0
GB
Hi -

I am having a problem with an ASP.NET Session Variable being lost when going between pages.
Has anyone ever had this problem or seen it?

The interesting things to note are
(a) it always happens with this one page.. it is in no way an intermittent
problem,
(b) this only happens when the new page is displayed in another window.
The first page loads fine in the new window but after that the session variable totally
dissappears for no apparent reason.. there is no explicit removal of
any Session variables in the code.
One of the things I have tried is to explicitly save back to the session
every time, but something still clears it out.
(c) It only happens on IIS6/ win 20003 servers. Not on my local dev machine which is IIS5 on XP
(d) The session has the same sessionID for both windows (as expected).

I have done lots of searches and found nothing useful.. I also have questions posted to news groups but no useful answer as yet.
I have also set the application to use the StateServer for Session state, since this is supposed to be more robust... but to no avail.
This really smells of a bug to me.....

Any help appreciated -
HeathHol
 
Maybe it would help if you knocked up a simple example to illustrate the problem and so others could test it?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top