Disappearing Sessions



Hi,

I'm presently converting a v1.1 ASP.NET app to v2, and am encountering a
strange problem.

When running in Debug mode (i.e. hitting F5), all is well.

However, when running without debugging (i.e. hitting Ctrl-F5), every so
often (it seems to be totally random) the entire Session seems to get torn
down causing Session_Start to fire again, thereby losing any Session
variables which have been created. This, in turn, causes the standard
"Object reference not set to an instance of an object" error because the
Session object which the code is expecting is not there.

Also, strangely, the Error Source for the above errors is always slightly
different e.g.

App_Web_zsxmxts_
App_Web_oxwoppmb
App_Web_82ilyo2x
App_Web_5iwdsnnv
App_Web_5iwdsnnv
App_Web_sog3df_f

I found the following article: http://forums.asp.net/thread/1271201.aspx but
the MS HotFix it refers to doesn't seem to have anything do do with my
current problem.

Has anyone seen anything like this before? I must have converted a dozen or
so v1.1 apps to v2 by now, and I've never encountered anything remotely
similar...

Any assistance gratefully received.

Mark


.



Relevant Pages

  • Word 2008 (Mac) crashes on old .doc files, does not "recover" properly
    ... A client of mine has a strange problem. ... She has just moved to a Mac within the last six months. ... she has also begun experiencing crashes involving brand-new docx files. ... The app says that it will re-start with a saved copy of what she was working on, but when the app gets back up and running there is nothing - no document, no auto-saved copy, nothing except a blank, new page. ...
    (microsoft.public.mac.office.word)
  • Word 2008 (Mac) crashes on old .doc files, does not "recover" properly
    ... A client of mine has a strange problem. ... She has just moved to a Mac within the last six months. ... she has also begun experiencing crashes involving brand-new docx files. ... The app says that it will re-start with a saved copy of what she was working on, but when the app gets back up and running there is nothing - no document, no auto-saved copy, nothing except a blank, new page. ...
    (microsoft.public.word.application.errors)
  • Re: glCallList infinite loop
    ... I have a strange problem with OpenGL in Windows XP. ... My app has 3 gl canvas (managed by wxWidgets). ... Memory bug, Use a memory tool like Purify. ...
    (comp.graphics.api.opengl)
  • Weird sharing problem Win XP Pro - Win XP Home
    ... I ran to a very strange problem last week: ... One of my clients is running an acc2k app for years. ... The app runs fine on the Win XP Pro PC with the be installed locally... ...
    (comp.databases.ms-access)
  • Re: cannot send email to oneself
    ... > One of our user is encountering a strange problem. ... > OE6 to anyone but herself. ... a cry for help.Heard that on Dr. Phil the other day just couldn't wait to ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)