473,320 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to reload/refresh page ONCE

How to reload/refresh a page just once? I've red a few 'solutions' but none worked for me. If you have an answer, would you please tell me where to put the code (head, body etc.)
Thanks in advance
Ibo Geffen
Jan 21 '14 #1
10 1651
Luk3r
300 256MB
What have you tried that did not work?
Jan 21 '14 #2
I tried a few PHP scripts, and tried the thing with the <meta> tags. I also tried some javascript, but al of them didn't work
Jan 22 '14 #3
Dormilich
8,658 Expert Mod 8TB
there’s nothing with HTML alone that can do it. JS could probably do it using cookies or WebStorage.
Jan 24 '14 #4
right click and select refresh
Jan 25 '14 #5
@Dormilich could you post a solution then?
Jan 25 '14 #6
@shirley I know it's possible but I want an autorefresh once
Jan 25 '14 #7
Dormilich
8,658 Expert Mod 8TB
I don’t have a solution ready. I just mentioned that you could achieve it using a unique token.

personally, I would not even try something like this, since it unnecessarily constrains the user.
Jan 25 '14 #8
Normally it's indeed unnecessary but I have a page in made with jQuery, and I wanted to let that page redirect to another jQuery page, but the items on the second page aren't clickable unless you refresh the page. So here's a autorefresh needed
Jan 25 '14 #9
Dormilich
8,658 Expert Mod 8TB
document.location.reload() ?
Jan 25 '14 #10
It's javascript? Well, when placed inside the <head> tags, this doesn't work either
Jan 25 '14 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Ken | last post by:
If the image content for image1.jpg changes, but the file name image1.jpg does not, IE6 does not show the new content unless F5 is pressed. If I reload the page using...
3
by: Ike | last post by:
Suppose I have a frame like 123bottom.html and within it, I want to promt the user for a response (in the <HEAD>) like var ans = prompt("What is your name?"); and then reload the page (via,...
4
by: Lex | last post by:
I want to reload a page only once. Therefor meta refresh is not suitable, because then it refreshes every x seconds. Is there a possibility to refresh only once? regards, Lex Ouburg
1
by: simon | last post by:
When I press shortcut key F5 (Debug.startWithoutDebugging) I always get a page on a new instance of Internet explorer. So then happens that I have 10 or more opened windows. Is it possible to...
10
by: phforum | last post by:
Hi, I wrote a PHP page for user input the information to search the database. And the database data will update every second. I want to set the auto refresh to get the data from database every...
8
by: T. Wintershoven | last post by:
Hi all, Is there a simple way in php to reload a page coded within an if statement.(see code below) It's very important that the session stays intact. The filename is RCStudent.php ...
9
by: Zafarana | last post by:
I've been searching on how to not get a cached version of my page. I've tried adding meta tags and even used an apparent 'cheat' by adding a second head after the body, this doesnt' work either. I...
7
by: J055 | last post by:
Hi I have a list on LinkButton controls on a page. When the link is clicked the LinkButton.Command event does a Server.Transfer to a page which writes binary to the HTTP output stream, e.g. a...
16
by: sreemati | last post by:
Hi everyone, This is the scenario: I have two button - Submit and Reset Submit is used for validation and after validation is passed it passes it to another form to enter into database. ...
3
by: tvnaidu | last post by:
How to auto refresh page for every 3 minutes by passing command part of URL?. I need to refresh one page automatically by passing that refresh command part of url, for example if I want to refresh...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.