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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need a function or tag that 'pauses' the pre-processor

Status
Not open for further replies.

Streetdaddy

Programmer
Jun 10, 1999
161
AU
I need a function or tag that 'pauses' the pre-processor for a specified interval, then continues processing the code.

Does it exist? Miles Tillinger
SE Net Web Design
vmiles@senet.com.au
 
thread232-40134
but be careful that javascript is CLIENT side while coldfusion is SERVER side
so if you need to pause server side maybe you could cfloop over a counter for long enough, this might do the trick
 
I actually did that, using GetTickCount to time 20 seconds wait. But the CPU load of the server stays at 100% the whole time it is looping (which can be up to 1 minute).

I really need a 'Sleep' function... Miles Tillinger
SE Net Web Design
vmiles@senet.com.au
 
Check out <CF_BLOCK> in the tag gallery. It uses no CPU cycles..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top