Current location: Hot Scripts Forums » Programming Languages » ASP » Asp Timer


Asp Timer

Reply
  #1 (permalink)  
Old 04-20-04, 07:17 AM
Ph33r Ph33r is offline
Newbie Coder
 
Join Date: Jun 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Question Asp Timer

Hey all, im trying to write a script for a site im designing, anyway what i need it to do is Every 10-15mins it needs to genertate a 24bit random number, then store that number into a Database then after that rename a Directory to that number. this page will always be open on the server im using so thats not a big problem.

Thanks in Adavance,
Ph33R
Reply With Quote
  #2 (permalink)  
Old 05-03-04, 09:14 AM
chirag's Avatar
chirag chirag is offline
Newbie Coder
 
Join Date: May 2004
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb

Hi there,

Have you tried meta tag in <head> tag of html page like this :
<META HTTP-EQUIV=Refresh CONTENT="10; URL=http://UrlOfYourpage">

This will refresh your page each 10 minutes....
Your asp script will get executed each 10 minutes..

Hope this helps.

===============
Quote:
Originally Posted by Ph33r
Hey all, im trying to write a script for a site im designing, anyway what i need it to do is Every 10-15mins it needs to genertate a 24bit random number, then store that number into a Database then after that rename a Directory to that number. this page will always be open on the server im using so thats not a big problem.

Thanks in Adavance,
Ph33R
Reply With Quote
  #3 (permalink)  
Old 05-03-04, 10:45 AM
kasic's Avatar
kasic kasic is offline
Newbie Coder
 
Join Date: Apr 2004
Location: Serbia
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by chirag
Hi there,

Have you tried meta tag in <head> tag of html page like this :
<META HTTP-EQUIV=Refresh CONTENT="10; URL=http://UrlOfYourpage">

This will refresh your page each 10 minutes....
Your asp script will get executed each 10 minutes..

Hope this helps.

===============
hmmm I'm not sure if this is 10minutes, I think it's 10seconds, but you can try and incrase the value...
Reply With Quote
  #4 (permalink)  
Old 05-10-04, 09:18 AM
chirag's Avatar
chirag chirag is offline
Newbie Coder
 
Join Date: May 2004
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Oh sorry!!

That's right. It is 10 seconds not minutes
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
php timer djew3001 PHP 11 08-16-06 05:24 PM
how do i caculate IQ in asp or javascirpt traceMe JavaScript 1 04-14-04 10:59 AM
Reliable Windows 2003 Hosting amzhost General Advertisements 0 04-12-04 09:32 PM


All times are GMT -5. The time now is 04:18 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.