Application State

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.
 
A

Alvin Bruney [MVP - ASP.NET]

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
 
G

Guest

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top