/    Sign up×
Community /Pin to ProfileBookmark

How do I have a page automatically refesh ONLY ONCE!

I’ve searched high and low and am unable to find any scripts or instructions on how to have a page automatically refresh ONLY ONCE after initially being loaded/viewed (as per whatever time variable/delay is set). I’ve found forwarding scripts/jumpers (which is not what I need) and scripts that repeatedly reload the same page automatically, in a loop, after a delay (eg: for random banner display). That doesn’t work for me either. All I want is for the SAME page to ONLY refresh ONCE (after a few seconds as per configurable time delay) after initially being loaded/viewed and then STOP! After that, I don’t want it to automatically refresh again unless the surfer leaves and views another page, and then returns to view this page again. At that point, it should do another SINGLE automatic refresh. Only refresh ONCE upon entry (ALWAYS),… not upon exit or repeatedly during viewing. I don’t want it to be stuck in a perpetual “loop”! Is there any way to accomplish this? HELP!!!

to post a comment
Full-stack Developer

1 Comments(s)

Copy linkTweet thisAlerts:
@AdamGundryDec 23.2003 — Please do not cross-post. Answered here: http://forums.webdeveloper.com/showthread.php?s=&threadid=24079

Adam
×

Success!

Help @mysticonline spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...