Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!
Site Owners Forums - Webmaster ForumsCalendarContact Us

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > HTML / DHTML


Reply
 
Thread Tools Rate Thread Display Modes
Old 02-19-2004, 03:31 PM   #1
AcidBurn
Registered User
 
AcidBurn's Avatar
 
Join Date: Oct 2002
Location: Illinois
Posts: 66
Send a message via AIM to AcidBurn Send a message via MSN to AcidBurn Send a message via Yahoo to AcidBurn
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
AcidBurn is offline   Reply With Quote

Old 02-27-2004, 03:14 PM   #2
Earl Parker II
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
Earl Parker II is offline   Reply With Quote
Old 02-29-2004, 06:22 PM   #3
AcidBurn
Registered User
 
AcidBurn's Avatar
 
Join Date: Oct 2002
Location: Illinois
Posts: 66
Send a message via AIM to AcidBurn Send a message via MSN to AcidBurn Send a message via Yahoo to AcidBurn
thank ya much.
__________________
AcidBurn
AcidBurn is offline   Reply With Quote
Old 04-13-2004, 05:41 PM   #4
mat41
Registered User
 
Join Date: Mar 2002
Location: Sydney Australia
Posts: 38
Send a message via Yahoo to mat41
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
mat41 is offline   Reply With Quote
Old 04-15-2004, 09:21 PM   #5
Reiki_Mark
Registered User
 
Join Date: Mar 2004
Location: Southern California
Posts: 42
Send a message via ICQ to Reiki_Mark
Or perhaps...

<BODY onLoad='window.setTimeout("location.reload(true)", 10000)'>

<BODY onLoad='window.setTimeout("location.replace(\"same page.htm\")")'>
__________________
Mark

by Celestial Design

www.CelestialDesignInc.com
Reiki_Mark is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

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


All times are GMT -7. The time now is 06:05 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. Kindly hosted by OH Telecom servers (get one!)
Site Delivered By Liberty Of Mind - #1 Adult & Mainstream Solutions Provider

Virtual Dedicated Server     Advertise