joecool2005 Posted May 2, 2006 Share Posted May 2, 2006 Anytime, when a user start a page, is it possible to refresh that page automatically?Thxjoe Link to comment Share on other sites More sharing options...
aspnetguy Posted May 2, 2006 Share Posted May 2, 2006 try response.redirect(url) Link to comment Share on other sites More sharing options...
vinphetamin Posted May 2, 2006 Share Posted May 2, 2006 You'll have to bear in mind that you'll probably be creating an infintite loop so you'd probably need to pass a variable round to counter-act it: <%if request("myVar")="" then response.redirect "?myVar=1"%> Also if you're trying to refresh the pages content you may want to look at doing it with java script:location.reload()or <script language="javascript"><!--if (location.search.indexOf("myVar")==-1){ location="?myVar";}//--></script> Link to comment Share on other sites More sharing options...
joecool2005 Posted May 2, 2006 Author Share Posted May 2, 2006 On Internet Explorer, when you go on the menu tool->internet options, on general tab, "Temporary Internet Files" section and click "setting", some people set to "never".That means, the page will never be refresh.Is it possible to force the page to refresh ?Thx Link to comment Share on other sites More sharing options...
vinphetamin Posted May 2, 2006 Share Posted May 2, 2006 Try and stop the page from being cached in the first place. Try putting this in the head of the page: <META HTTP-EQUIV="Pragma" CONTENT="no-cache"><META HTTP-EQUIV="Expires" CONTENT="-1"> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now