Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I can't prevent caching in web browser

Status
Not open for further replies.

josecarlo

Programmer
Aug 22, 2000
30
PE
Well, in fact, I can prevent caching in the development server, but when I run the application in production server it doesn't work.

This is what I did:

In Page_Load()
Response.Cache.SetCacheability(HttpCacheability.NoCache)

As I said, it works fine in one server but not in the other. Both of them are IIS 5.0. I checked the HTTP version in both servers, and I see that the development server sends HTTP/1.1 in its response, and the production server sends HTTP/1.0. Does it have something to do with the problem? or is there any other thing I should check?

And, how could I update my web server to HTTP 1.1?

Thanks for your help.

José




JOSE CARLOS ARAMBURU
josecarloaa@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top