Thread Sleep in Classic ASP?

后端 未结 12 2409
滥情空心
滥情空心 2021-02-05 23:10

I\'m doing some revision on an old app that is written in classic ASP/VbScript.

It has a feature to send out an e-mail to the members of the application, but because the

12条回答
  •  天命终不由人
    2021-02-05 23:35

    This looks like a good hack:

    http://www.ehow.com/how_2001270_sleep-asp-using-ado.html

    The trick is to create an ADO connection object and then try to connect to a non-existant server. This will block for the duration of the connection object's timeout setting.

提交回复
热议问题