Pause or wait function in ASP

To have your asp page pause or wait during execution you can use the following:

Dim dtcurrent

dtcurrent=now

Do until abs(datediff("s", dtcurrent, now))>=5

Loop

The 5 indicates how many seconds you want to wait or pause. Change it to whatever value you want to wait or pause.