faqts : Computers : Programming : Languages : Asp : ASP/VBScript : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

34 of 64 people (53%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

In IE how can i refresh for a second time a shopping cart that is already in cache
How can I force a refresh and prevent the browser from loading a page from cache?

Jun 23rd, 2000 17:20
Chris Durkin, Ben Rompré,


Use this function to add a random number in the QueryString of the URL:
function NoCache ()
'returns a random number to append onto urls so the browser will not
'load a cached version
	Randomize
   NoCache = Int(1000000 * Rnd + 1)
end function
example:  response.redirect "somepage.html?" & NoCache



© 1999-2004 Synop Pty Ltd