Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
SamC
White Water Yakist
3467 Posts |
Posted - 2003-01-08 : 17:43:31
|
This problem is similar to my earlier post only different. I've got a .NET page that I simply cannot cripple cacheing. Manual browser reload is the only way I can get the 'revised' page.I have <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="-1">in the header and between </body></html>I have Response.Cache.SetCacheability(HttpCacheability.NoCache) Response.Cache.SetExpires(Now())in the Page Load for the page.Anyone have experience with this one?Sam |
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2003-01-08 : 17:54:57
|
I'm not up on .Net yet, but how about:Response.Cache.SetExpires(Now()-100000)That'll knock the expiration back more than a full day. If that doesn't get the client's browser to work, I'm really at a loss.Take a look on 4Guys and ASP.Net, they've got all kinds of good stuff:http://www.4guysfromrolla.com/http://aspnet.4guysfromrolla.com/http://www.asp.net/ |
 |
|
|
|
|