Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cookie

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi !

I don't know programming in Perl. But came to know that cookie programming can be done thru this. My problem is, I want the home page to be displayed automatically if the system has loaded one of my HTML pages and remains idle for 5 mins. in any one of the linked pages.

Solution is sought.

Thanx in advance.
 
Hi !

I don't know programming in Perl. But came to know that cookie programming can be done thru this. My problem is, I want the home page to be displayed automatically if the system has loaded one of my HTML pages and remains idle for 5 mins. in any one of the linked pages.

Solution is sought.

Thanx in advance.

 
I don't know that you need cookies to do this, you ought to be able to do it with javascript, or even a meta refresh tag. This might do it:
Code:
<meta http-equiv=&quot;refresh&quot; content=&quot;300;URL=http://www.yourdomain.com/index.html&quot;>
The 300 is 300 seconds (5 minutes). This tag goes in your <head> section of the page. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Although I don't know of a solution to your problem, the above solution would reload the page in 5 minutes whether the computer was idle or not, wouldn't it?
 
It would, as long as that page stayed up. If it were reloaded by going to another page and back the timer would restart again. Unless someone is likely to spend more than 5 minutes on a particular page without being &quot;idle&quot;, this shouldn't be a problem. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top