Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!
|
|
#1 |
|
Registered User
|
Forced Refresh
Yea... when a selected page loads, I want it to refresh, ONE time... I've tried using various differnt META tags... but they like to make if refresh every X seconds or refresh to a new page after X seconds... and I don't want that... just when the page loads, to refresh to itself... any help would be awesome
__________________
AcidBurn |
|
|
|
|
|
|
|
#2 |
|
Registered User
Join Date: Apr 2002
Location: Shelby, NC USA
Posts: 80
|
The following META tags won't cause a page to refresh but will ensure that the page isn't cached, meaning a fresh page will be loaded from the server every time:
<META HTTP-EQUIV="Expires" CONTENT="0"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> Some of the above work in certain browsers but not others. Including all three should ensure no caching with any browser.
__________________
Earl Parker II www.digitalresults.com www.parkercarburetion.com www.holleypartsforsale.com |
|
|
|
|
|
#3 |
|
Registered User
|
thank ya much.
__________________
AcidBurn |
|
|
|
|
|
#4 |
|
Registered User
|
I would call a client side JS function inside the body tag
eg.. on load="someFunctionname();" then inside the function call a refresh after your chosen period of time out Im sure you have a good reason for this functionality, what are you trying to achieve? Or (a redirect to the same page after a given time) <BODY onLoad=window.setTimeout("location.href='samePageN ame.html'",10000)>
__________________
wind is your friend |
|
|
|
|
|
#5 |
|
Registered User
|
Or perhaps...
<BODY onLoad='window.setTimeout("location.reload(true)", 10000)'> <BODY onLoad='window.setTimeout("location.replace(\"same page.htm\")")'> |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Common-sense forced me to join free! | levi1 | Post your ad here | 0 | 12-26-2006 08:33 PM |
| Pre-launch..!! Forced 8 x 8 matrix | krbakken | Post your ad here | 0 | 07-06-2006 04:42 AM |
| Basic refresh question | kcole01 | HTML / DHTML | 6 | 03-06-2006 10:00 PM |
| how to auto refresh for javascript? | isaac | Javascript | 1 | 03-04-2005 04:46 AM |
Advertise