Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 190
  • Last Modified:

Auto refresh + refresh as per end-user input

Hi,

How can I make an html page to get auto-refresh and at the same time provide the end-user to input the required interval.

For example, if user doesn't provide any interval the page will auto-refresh every 60 seconds but if user enters any
other value like 30 sec. then the page refresh accordingly.

This page might have small form to take user input.

Thanks.
Rizvi.
0
myrizvi
Asked:
myrizvi
  • 2
1 Solution
 
COBOLdinosaurCommented:
Just put the value in a cookie or the argument string of the page. Then a little scripting can pick up the value from either of those spots.

Cd&
0
 
myrizviAuthor Commented:
Thanks.

Isn't it possible to ask user to input time interval then store that value in a variable for auto-refresh till the time user
chnage the last interval.



0
 
COBOLdinosaurCommented:
If you did that the user would have to keep entering value after every refresh, because the refresh would destroy the vlaue in the variable.

Cd&

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now