468,510 Members | 1,733 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,510 developers. It's quick & easy.

Create a timer control in ASP?

Is it possible to create a timer control as in VB 6 in ASP ?
I require a timer to read records from a database after each minute...how can this be done? without continuously doing a loop
Mar 15 '10 #1
1 2128
GazMathias
200 Expert 100+
Once an ASP request leaves the server and is sent to the browser, it is done with.

Therefore, timers must be activated and tracked at the browser.

The answer: Javascript.

In short, by all means write a page in ASP to pull your records from the database, but use Javascript to call that page when needed.

I speak with regard to Classic ASP, I am not learned in the ways of ASP.Net (Yet - I haven't the need). If it is ASP.Net wisdom you seek, you'd best post in that forum.

Gaz.
Mar 15 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

11 posts views Thread by Steve Jorgensen | last post: by
2 posts views Thread by vinay | last post: by
4 posts views Thread by =?iso-8859-1?B?S2VyZW0gR/xtcvxrY/w=?= | last post: by
3 posts views Thread by Steve | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.