Brian Webster
Brian Webster

Reputation: 30865

asp.net - application state reliability

I'm considering relying on the asp.net application state in a web application.

I have it being populated when the application starts with some very important values (301 redirects, url rewrites).

Any time the application restarts, it gets populated just fine.

Are there any particular reasons why the app state might get cleared or corrupted that I should know about?

Is it safe for me to assume that the values in the app state are safe unless manually removed?

Thanks

Upvotes: 0

Views: 178

Answers (1)

Robert Levy
Robert Levy

Reputation: 29083

cache is generally meant to be temporary. it sounds Application State is a better fit for your needs: http://msdn.microsoft.com/en-us/library/ms178594.aspx

Upvotes: 1

Related Questions