Application State

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I find that the objects that I store in Application State expires.Is there
any setting which lets me retain it as long as I do not restart my web site.
 
Hi Vishwannathan Raman:
I think you can persistent your data with database.
 
FYI it expires only after the application pool shuts down after inactivity

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
 
Thanks Alvin for the insight.I did not know of this behaviour.Another
question that I have is how long can the application be inactive before it
expires.
Is there any setting? What I am developing is a search interface.I have a
lot of xml reads and hence I have put them in global.asax to be converted as
DataSets.These datasets are frequently referenced by the search
interface.There can be long durations of inactivity.


Alvin Bruney said:
FYI it expires only after the application pool shuts down after inactivity

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top