Delay Script

Results 1 to 3 of 3

Thread: Delay Script

  1. #1
    Join Date
    Dec 1969

    Default Delay Script

    I have some ASP that is send out some SMS messages. I have a requirement where I want the page to run some code then wait for about 30 seconds before executing the remainder of the code. Is there a delay function of some sort that I can insert into my code that will do this.<BR><BR>Thanks in advance for your help.

  2. #2
    Join Date
    Dec 1969

    Default No.

    ASP is not designed to "delay". It is designed to execute as quickly as possible, so that the server can execute another page for a different user.<BR><BR>You could write some ugly busy loop, but it&#039;s just not worth doing. You&#039;ll kill the server.<BR><BR>It depends EXACTLY on what you want - could the delay be client-side? If so, investigate the setTimeout() function.<BR><BR>Craig.

  3. #3
    Join Date
    Dec 1969

    Default Yes

    ;)<BR><BR> - WaitFor 1.0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts