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
Post a Comment