Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do i pause a script?

Status
Not open for further replies.

guineamation

Programmer
Jan 29, 2002
58
IL
How do i pause a script for 30 minutes?
 
why would you want to pause an ASP script (server side?) for 30 minutes? You'll kill the server soon enuf ...

if you're referring to the client-side, you can try the window.setTimeout function.

regards,
- Joseph ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Visit --> for (Replica) Watches, Pen, Handbags, Hats, Jerseys and more ... at prices that makes your code spin ...
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
 
I'm sure you can do this in pure ASP but I have created a VB COM object that I call where I want to pause the script (usually only for a few seconds though). The VB COM object uses the timer to pause however many seconds I pass in before finishing execution. The ASP page will wait for your COM object to finish its processing before moving on.

Thanks,

Gabe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top