View Full Version : Preventing a document from loading from cache
codefox
01-22-2003, 01:30 PM
I use window.open ("somepage.asp", rightframe) in an HTML page. The problem is the page is loaded from the cache. Is there a way I could load a fresh copy not from the cache or is it possible to refresh the page after loading?
Danne
01-22-2003, 02:11 PM
Try this:
Response.CacheControl = "no-cache"
brothercake
01-22-2003, 02:31 PM
Sent out headers which are dated in the past
ahosang
01-22-2003, 04:48 PM
Could use the querystring trick:
var now=new Date();
nowTime=now.getTime();
window.open("somepage.asp?"+nowTime, rightFrame);
codefox
01-23-2003, 12:35 PM
Thanks everyone.
The querystring trick worked, :cool:
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.