Session Variables disappear

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Frank Schumacher (fs_nospam_at_informatik.uni-leipzig.de)
Date: 02/11/05


Date: Fri, 11 Feb 2005 16:12:49 +0100

Hi NG,

I have a weird problem, that's starting to get my sanity.

My webapplication stores several values in Session["xxx"]. After a
server roundtrip, no Session variables exist anymore (Session.Count is 0)

I have logged the Session.SessionID, it is the same as before.

I have logged the last and the first line of code in my Codebehind. When
I leave the code the first time, I have a total number of 18 Session
Variables. When I enter the site again, I have 0 Session Variables.

The session timeout is 20 minutes and sessions are activates in IIS (6.0)

There is no Session.Abandon in the code.

The worst thing, I have a previous version of the webapp, which works
fine. From this version to the problematic one, I have just changed the
html-Code and added the use of the QueryString to initialize the app.

I even have uninstalled the .NET update, that hit us yesterday, cause
yesterday everything worked fine.

Not to mention, that I need to present the project next monday.

I have no ideas left anymore, if anyone could help me out, it would be
great.

Thanks in advance,
Frank



Relevant Pages

  • Re: Session Variables - why arent novice developers warned?
    ... The user selects a Customer in a browser and enters an order. ... and the same session variables. ... You can research session state very thoroughly without finding any ... with the use of Session Variables? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Session Variables - why arent novice developers warned?
    ... very dangerous outcome which may result when the session variables are used ... Developers want the session to be preserved when a new browser ... You can research session state very thoroughly without finding any ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Postback erases web control text
    ... I'm using Windows XP and my version of IIS is 5.1. ... This login process is stored entorely in the session. ... As far as caching is concerned, I haven't specified anything to specifically ... are you wrapping each attempt to get/set the Session variables ...
    (microsoft.public.dotnet.general)
  • Re: Hiding variables passed via URL
    ... well you can view cookies as well. ... What else constitutes a 'session variable' apart from POST or GET data ... But then you don't understand that session variables aren't POST or GET ... You could coordinate PHP with Javascript. ...
    (comp.lang.php)
  • Re: In Need Of Serious Help
    ... for a client and am using session variables to pass a variable ... the session variable is not getting passed between pages and nothing ... normal normal bold 15px verdana; ... CompanyName FROM customers ORDER BY CompanyName")); ...
    (comp.lang.php)