Hi All,
I'm trying to expire the previous web page. Now I can achieve this by
in the page.load event for pages that do not have AJAX enabled. But for a few of my projects pages i've a
I'm trying to expire the previous web page. Now I can achieve this by
Response.AddHeader(
"Pragma", "no-cache")
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Response.Cache.SetExpires(DateTime.Now.AddHours(-1))
in the page.load event for pages that do not have AJAX enabled. But for a few of my projects pages i've a
RadAjaxManager
which somehow interfers with the above code. I'm certain its to do with the AJAX callback as when I set
EnableAJAX
="false" all works as before.
Does anyone no how to expire the page when AJAX is enabled or have any suggestions????
Thanks
Mark