当前位置: 首页 > 图文教程 > 网络编程 > ASP > 如何使ASP程序暂停指定的时间后再继续执行

ASP
分享一段代码show.asp?id=26变成show/?26的形式
多域名一网站时如果返回最原来的域名
[原创]完美解决ASP 不能更新。数据库或对象为只读。
5天学会asp
TSYS中生成静态页时溢出: ''CInt''
对象标记具有无效的 ''MSWC.MyInfo'' ProgID
[原创]随机增加网站点击的一个不错的方法
Microsoft JET Database Engine 错误 ''80004005'' 未指定的错误的完美解决方法
反SPAM新思路—换Z-BLOG的验证码!
七步倒┈→专用asp后门
asp下实现代码的“运行代码”“复制代码”“保存代码”功能源码
使用ASP实现网站的“目录树”管理的代码
ShowPage 显示“上一页 下一页”等信息的封装代码
[原创]站长感慨asp编程究竟何去何从
响应对象 错误 ''ASP 0185 : 80020003'' 缺少默认属性
[原创]asp下用实现模板加载的的几种方法总结
[原创]asp获取URL参数的几种方法分析总结
Access数据库中“所有记录中均未找到搜索关键字”的解决方法
ASP程序中输出Excel文件实例一则
ASP应用中如何限制同一表单被多次提交

如何使ASP程序暂停指定的时间后再继续执行


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 179 ::
收藏到网摘: n/a

  可以用waitfor组件. 下面是国外的一名ASP作者的语句:

Developer's often need to have their apps wait a specified number of
seconds, detect if a file exists within a particular timeout or wait
for exclusive file access within a specified timeout. This component
is designed to allow developers to do that from ASP.

To install

a) Move the component into the subdirectory you want to store it in
b) Type regsvr32 waitfor.dll
c) Run markwait.exe to mark the registry
d) Move the example script into a directory off your Web server
e) Modify the example for your own use

Unfortunately I cannot provide free support for this free component.

Best wishes,

Stephen