Create a timer control in ASP?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • deshpandeashish
    New Member
    • Mar 2010
    • 1

    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
  • GazMathias
    Recognized Expert New Member
    • Oct 2008
    • 228

    #2
    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.

    Comment

    Working...