HighTechTalks DotNet Forums  

Application state - data disappears

ASP.net Caching microsoft.public.dotnet.framework.aspnet.caching


Discuss Application state - data disappears in the ASP.net Caching forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Vik
 
Posts: n/a

Default Application state - data disappears - 05-05-2005 , 03:29 PM






Sometimes all data in Application state disappears during debugging. Is
there expiration time for the Application state? What may be another reason
for losing data?

Thanks.



Reply With Quote
  #2  
Old   
Brock Allen
 
Posts: n/a

Default Re: Application state - data disappears - 05-05-2005 , 04:06 PM






The AppDomain that's hosting your code perodically reloads for various reasons.
One of them is when your web.config files changes. This is a feature and
it's something you'll need to design around.

-Brock
DevelopMentor
http://staff.develop.com/ballen



Quote:
Sometimes all data in Application state disappears during debugging.
Is there expiration time for the Application state? What may be
another reason for losing data?

Thanks.





Reply With Quote
  #3  
Old   
Vik
 
Posts: n/a

Default Re: Application state - data disappears - 05-05-2005 , 05:27 PM



Thanks, I'll take this into account for future development but currently the
web.config file does not change during debugging.
Sometimes when an error happens during debugging I hit the browser's Back
button and try another operation (that is click another button) on the Web
page. Is it possible that some run time errors clear the Application state
(this problem does not happen with every error)?

Vik

"Brock Allen" <ballen (AT) NOSPAMdevelop (DOT) com> wrote

Quote:
The AppDomain that's hosting your code perodically reloads for various
reasons. One of them is when your web.config files changes. This is a
feature and it's something you'll need to design around.

-Brock
DevelopMentor
http://staff.develop.com/ballen



Sometimes all data in Application state disappears during debugging.
Is there expiration time for the Application state? What may be
another reason for losing data?

Thanks.







Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.