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!

IMplement timer 1

Status
Not open for further replies.

developer155

Programmer
Jan 21, 2004
512
US
Hi, I have a web page that checks the harddrive for some files every time user makes a request to it. I need to change so that the page only checks every 10 minutes. Whats the way to implement a static timer that would return minutes elapsed to all the threads (web pages)

thanks!
 
You could create an Application or Cache variable to store a time value in. Then, just check thos time on each request to see if the folder needs to be checked. Also, the tie can be used to display the minutes remaining till that time if you need it.


____________________________________________________________
Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]

Need help finding an answer? Try the Search Facility or read FAQ222-2244.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top