I
Ismail
I have asp.net20 web application in my class file in app_code i have
the following code:
HttpContext.Current.Cache.Insert("CampaignImage",
path, null, cacheD,
Cache.NoSlidingExpiration
);
the function where i am doing this is called from home page on my
site. the first time round it gets added to the cache (basically i
have if statement to say if not in cache then add to cache) I can see
it gets added. Now when i refresh the page the item has been dropped
from cache. Am I doing something stupid?
Many thanks
Ismail
the following code:
HttpContext.Current.Cache.Insert("CampaignImage",
path, null, cacheD,
Cache.NoSlidingExpiration
);
the function where i am doing this is called from home page on my
site. the first time round it gets added to the cache (basically i
have if statement to say if not in cache then add to cache) I can see
it gets added. Now when i refresh the page the item has been dropped
from cache. Am I doing something stupid?
Many thanks
Ismail