Link to home
Start Free TrialLog in
Avatar of Christopher Casey
Christopher CaseyFlag for United States of America

asked on

Auto-Refresh For IE 7

I am looking for a way to auto-refresh a page on IE so it does not time out
Is there a way to script this?
Thanks!
Avatar of ou_dober
ou_dober
Flag of United States of America image

If you are using one browser on one machine

AutoRefresher for IE

http://download.cnet.com/AutoRefresher-for-IE/3000-2378_4-6934685.html

This Internet Explorer addon automatically refreshes websites for you. You can set it to refresh your pages at custom intervals or any predefined ones. Each browser window has its own refresh control. Istaller/uninstaller are included with this package. Great for surfing Web pages that are updated often.

If you are using one browser on many machines

Manually -

Easiest thing, honestly, is to F5-it yourself.
 BUT... check these settings first:
 
 Tools -> Internet Options... -> Settings under Browser History
 Under "Check for newer versions of stored pages:",
 select "Every visit to the page" as opposed to "Automatically", because the 'automatic' setting will not be frequent enough for your intentions.
 
 With "Every visit" selected, you can press F5 and get the page reloaded. (If in doubt, hold CTRL and press F5 to "force" a full screen/page refresh.)

Scripted -

http://support.microsoft.com/kb/201535

To resolve this issue, edit the SyncMode5 DWORD value in the following registry key to verify the correct setting:   HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\InternetSettings   The data values for the SyncMode5 value include:   0: Never
 2: Every time you start Internet Explorer
 3: Every visit to the page
 4: Automatically

Copy the code snippet and save it to autorefresh.bat. to use.

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\InternetSettings" /v SyncMode5  /t REG_DWORD /d 4 /f

Open in new window

Avatar of Robin CM
Is the page your own?
Just add:
<meta http-equiv="refresh" content="60">
to the html header of the page. 60 is the refresh time in seconds.
Usually a good idea to also add:
<meta http-equiv="pragma" content="no-cache">
which stops the page being cached by the browser.
Avatar of Christopher Casey

ASKER

Actually the issue is the page times out and the user has to click on Home to reactivate the page.
Yes I know its just eliminating users from one click but the higher up's don't want this to happen at all.

My thought was deploying a script that would refresh the target page automatically as if the user clicked the home link.

Thoughts?
ASKER CERTIFIED SOLUTION
Avatar of Robin CM
Robin CM
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Will pass through NTLM work with that? or will the frame block the authentication?
Again thank you for the help!
to be honest, not sure - try it!
Excelent! now for passing the NTLM through and its good!
Thank you!!
One issue I just noticed..the refresh makes the page go back to the first
How do I stop this?