Computing.Net > Forums > Web Development > Refresh 1ce

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Refresh 1ce

Reply to Message Icon

Name: DJ-BROWNTHUG
Date: June 2, 2004 at 12:54:55 Pacific
OS: XP
CPU/Ram: 192mb ( Intel celeron pro
Comment:

Hi is there is any Php or Html code that can make a page refresh one tim when thay visite a Page ( only 1ce )



Sponsored Link
Ads by Google

Response Number 1
Name: safeTsurfa
Date: June 3, 2004 at 07:14:13 Pacific
Reply:

You can do this with a meta tag in the page header. http://webdesign.about.com/cs/metatags/a/aa080300a.htm


0

Response Number 2
Name: DJ-BROWNTHUG
Date: June 3, 2004 at 18:21:11 Pacific
Reply:

well i want a one it refresh 1 tme not evry 600 sec or 1 sec


0

Response Number 3
Name: safeTsurfa
Date: June 4, 2004 at 06:35:21 Pacific
Reply:

Set the variable "600" in the tag to whatever you need. It is measured in seconds, so 60 = 1 minute, and it should occur only once.


0

Response Number 4
Name: chaud
Date: June 4, 2004 at 07:36:21 Pacific
Reply:

So, it will still refresh every min...

Here is one that might work...god...no coders here...
<HTML>
<HEAD>
<TITLE>Test reload page once each "back" request.</TITLE>
<script language="Javascript">
function testReload(){
var testReload=0;
if (document.myForm.myFlagReload.value=="1"){
alert("Flag is 1, changing to 2");
document.forms[0].myFlagReload.value="2";
testReload=1;
} else {
alert("Flag is not 1, changing to 1");
document.myForm.myFlagReload.value="1";
testReload=0;
}
if (testReload==0){location.reload(true)};
};
</script>

</HEAD>

<BODY onLoad="testReload()">
<FORM name="myForm">
<INPUT TYPE=TEXT NAME=myFlagReload Value="1">

<INPUT TYPE=TEXT NAME=myData VALUE="hello">

hello

</FORM>
</BODY>
</HTML>

Excell Hosting for all your hosting needs.


0

Response Number 5
Name: safeTsurfa
Date: June 5, 2004 at 06:45:04 Pacific
Reply:

Not a question of "no coders", so step off your high horse before you fall and break your neck. For myself, I don't know or use that because I despise javascript, or any other which depends on the client side for its functionality.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Refresh 1ce

Refresh a page once? www.computing.net/answers/webdevel/refresh-a-page-once/196.html

Refresh Portion of the Page www.computing.net/answers/webdevel/refresh-portion-of-the-page/1708.html

The refresh www.computing.net/answers/webdevel/the-refresh/1887.html