PDA

View Full Version : Force server to 'sleep' for x milliseconds ?


peakss
09-08-2002, 09:56 PM
In PHP it's possible to force the server to wait for x seconds
example)
<?php
$i = 1;
for($i; $i<11; $i++){
print"$i ";//($i-break tag)
flush();
sleep(1);
}
print("<BR><BR>--END--");
?>

Is it possible to do the same thing in ASP without a VB component ?

thanks,
David

"There are no must's in life unless you provide for someone else than yourself"

whammy
09-10-2002, 12:50 AM
You can use timer()