Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
103
rated 0 times [  105] [ 2]  / answers: 1 / hits: 18068  / 11 Years ago, tue, march 26, 2013, 12:00:00

I have a small asp file that runs inside of a frame. Is there any way that i can do a CTRL+F5 type of refresh and reload the whole browser window. I've tried parent.location.reload(true), location.reload(), and quite a few others. The page doesnt seem to want to redirect. If i do a CTRL+F5 on my keyboard it reloads fine. Any help is much appreciated



also i need to refresh/update my .js files in the browser through CTRL+F5


More From » ajax

 Answers
3

Try following, FIrst of all in your <head> tag put following two lines



<meta http-equiv=Cache-control content=no-cache>
<meta http-equiv=Expires content=-1>


and then You can use location.reload(true)


[#79358] Sunday, March 24, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
yamileth

Total Points: 53
Total Questions: 96
Total Answers: 112

Location: England
Member since Tue, Sep 8, 2020
4 Years ago
;