I need to be able to toggle Response Caching, so my admin users see their newly inserted content - but cannot get it to work programmatically - it works ok to clear , but not t set expiry etc:
Response.Cache.SetCacheability(HttpCacheability.Public);
Response.Cache.SetExpires(DateTime.Parse("6:00:00PM"
)
Response.Cache.SetValidUntilExpires(true);
Why is it just not doing anything?
<bb/>
Response.Cache.SetCacheability(HttpCacheability.Public);
Response.Cache.SetExpires(DateTime.Parse("6:00:00PM"
Response.Cache.SetValidUntilExpires(true);
Why is it just not doing anything?
<bb/>