I created simple method to prevent caching. There is 2 methods , basically 1 sends, other prevents caching. See C# code
public static void SetResponseNoCache(HttpResponse Response)
{
Response.Cache.SetExpires(new DateTime(1980, 11, 11));
Response.Cache.SetLastModified(DateTime.Parse("1/1/2001 00:00:01AM"));
Response.Cache.SetNoStore();
}
public static void SendToClient(HttpResponse r, string response)
{
SetResponseNoCache(r);
r.Write(response);
r.End();
}
Hope this helps
Igor Kononuchenko
you speeky very bad
yes it is, very secure. Going
but I think it's not good way
ewe
i love to try this
Sonia, this is very very old
Hi
I gone thru ur code and
thanks for including my
Thank You for the post!
broken link
Comments