c# - remove items from cache which do not have a priority of NotRemovable -


i want remove items cache except set priority of cacheitempriority.notremovable when added. how can this? working asp.net , c#.

why don't store date don't want removed httpapplication ?

if need find place store few data need around application in different user session think httpapplicationstate best place that.

bear in mind httpapplication use cache behind scene :-)

you have problems if need deploy web application server farm httpapplicationstate not shared between servers:

http://msdn.microsoft.com/en-us/library/system.web.httpapplicationstate.aspx

but have same problem using cache :-)


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -