Brothers In Code

...a serious misallocation of .net resources

Forcing a page to expire in both IE and firefox.

My http header method of doing this was pretty dated.  Instead I'm now using:

Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetNoStore();

The first line was enough for IE.  Firefox also required the second line.

 

 

 

 

 

 

Loading