473,385 Members | 1,379 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,385 software developers and data experts.

tag to provoke reload

I am working on a kiosk system that is driven by apache. After 5
minutes I want system to go back to the default page. I recall
seeing, and maybe even using some tag, I think it might have been a
meta data tag to tell the web browser to goto a curtain page after a
given period of time. What is the best way to do that in this day and
age?

Feb 12 '07 #1
4 3443
Rik
<ca******@gmail.comwrote:
I am working on a kiosk system that is driven by apache. After 5
minutes I want system to go back to the default page. I recall
seeing, and maybe even using some tag, I think it might have been a
meta data tag to tell the web browser to goto a curtain page after a
given period of time. What is the best way to do that in this day and
age?

First of all, do not trust it to happen, it's easily blocked.
You could do this (redirect after 300 seconds):

<meta http-equiv="refresh" content="300;url=http://example.com">

Or javascript:
function redirect(){
window.location = "http://example.com/";
}
setTimeout(redirect,300000);

Never, ever trust this for any security whatsoever.
--
Rik Wasmus
Feb 12 '07 #2
On Feb 12, 2:32 pm, Rik <luiheidsgoe...@hotmail.comwrote:
<carto...@gmail.comwrote:
I am working on a kiosk system that is driven by apache. After 5
minutes I want system to go back to the default page. I recall
seeing, and maybe even using some tag, I think it might have been a
meta data tag to tell the web browser to goto a curtain page after a
given period of time. What is the best way to do that in this day and
age?

First of all, do not trust it to happen, it's easily blocked.
You could do this (redirect after 300 seconds):

<meta http-equiv="refresh" content="300;url=http://example.com">

Or javascript:
function redirect(){
window.location = "http://example.com/";
}
setTimeout(redirect,300000);

Never, ever trust this for any security whatsoever.
Rik,

Even in a kiosk system where the web browser is running full screen
and the only input device the user has is a mouse? This is the
oooooonly situations I am concerned about;) When this site runs on a
non kiosk machine, I could care less if it resets or not;)

Thanks a million for your help!
Feb 12 '07 #3
Rik
On Mon, 12 Feb 2007 23:05:33 +0100, <ca******@gmail.comwrote:
On Feb 12, 2:32 pm, Rik <luiheidsgoe...@hotmail.comwrote:
><carto...@gmail.comwrote:
After 5
minutes I want system to go back to the default page.

First of all, do not trust it to happen, it's easily blocked.
You could do this (redirect after 300 seconds):

<meta http-equiv="refresh" content="300;url=http://example.com">

Or javascript:
function redirect(){
window.location = "http://example.com/";
}
setTimeout(redirect,300000);

Never, ever trust this for any security whatsoever.

Even in a kiosk system where the web browser is running full screen
and the only input device the user has is a mouse? This is the
oooooonly situations I am concerned about;) When this site runs on a
non kiosk machine, I could care less if it resets or not;)

If you control the browser, it shouldn't be a problem.
--
Rik Wasmus
Feb 12 '07 #4
ca******@gmail.com wrote:
On Feb 12, 2:32 pm, Rik <luiheidsgoe...@hotmail.comwrote:
><carto...@gmail.comwrote:
>>I am working on a kiosk system that is driven by apache. After 5
minutes I want system to go back to the default page. I recall
seeing, and maybe even using some tag, I think it might have been a
meta data tag to tell the web browser to goto a curtain page after a
given period of time. What is the best way to do that in this day and
age?
First of all, do not trust it to happen, it's easily blocked.
You could do this (redirect after 300 seconds):

<meta http-equiv="refresh" content="300;url=http://example.com">

Or javascript:
function redirect(){
window.location = "http://example.com/";
}
setTimeout(redirect,300000);

Never, ever trust this for any security whatsoever.

Rik,

Even in a kiosk system where the web browser is running full screen
and the only input device the user has is a mouse? This is the
oooooonly situations I am concerned about;) When this site runs on a
non kiosk machine, I could care less if it resets or not;)
Do you also need the previous user's history to be removed?
Feb 12 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

66
by: Ellinghaus, Lance | last post by:
> > Other surprises: Deprecating reload() >Reload doesn't work the way most people think >it does: if you've got any references to the old module, >they stay around. They aren't replaced. ...
4
by: David MacQuigg | last post by:
I'm going to be teaching EEs some basic Python using the first few chapters of Learning Python, 2nd ed. by Mark Lutz. The discussion on Reloading Modules starting on page 266 is confusing and I...
1
by: Emmanuel | last post by:
Hi, I use a 'reload all' feature in my app, that allow to reload every module. I first try this version : import sys def Reload():
1
by: zdhiu | last post by:
Hi javascript gurus, I have a simple html file (simple.html) with javascript. In html page there is sentence from variable defined in .js file (myFirst.js). Once I reload another .js file...
19
by: Darren | last post by:
I have a page that opens a popup window and within the window, some databse info is submitted and the window closes. It then refreshes the original window using window.opener.location.reload(). ...
4
by: Lonnie Princehouse | last post by:
So, it turns out that reload() fails if the module being reloaded isn't in sys.path. Maybe it could fall back to module.__file__ if the module isn't found in sys.path?? .... or reload could...
3
by: John Salerno | last post by:
I understand that after you import something once, you can reload it to pick up new changes. But does reload work with from statements? I tried this: from X import * and then did my testing....
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 ...
0
by: Rafe | last post by:
Hi, This seems to be an old question, and I've read back a bit, but rather than assume the answer is "you can't do that", I'd thought I'd post my version of the question along with a...
1
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.