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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forcing a page to come from the server

Status
Not open for further replies.

HarryK

Programmer
Dec 12, 2000
6
GR
How is it possible to force an HTML page to come from the server, and not from the browser's cache, every time a page is loaded on the browser, even if that happens because the user pressed the back or the forward button.
 
many many threads on this subject in the javascript and html/dhtml forums ... search for force refreshing or reloading ... i'm sorry i didn't note the threads reference.
 
In essence, from all of those posts, you will find that there is no way to force a browser to download a page from your server. That is a browser issue and a proxy issue, not a server issue.
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
I don't wish to contradict, and if i am wrong then please tell me so, but is there not a command Response.Expires=0, i am using ASP, and i know it works in that, is it generic or am i talking rubbish. DeltaFlyer ;-)

DeltaFlyer - The Only Programmer To Crash With Style.
 
That will usually work, but not always. If a proxy stores the page in a server for quick access, it may not grab the actual new version of the page. jared@aauser.com
 
Asp is a server-side language. If a browser or proxy server caches the asp output as html, and then fetches that page from the cache when a request is made, then there is nothing you can do about it from the web server. It has nothing to do with you at that point.
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top