"Kay Smoljak" <[EMAIL PROTECTED]> wrote on 2/12/2002 4:46:30 PM:
>Has anyone used this tag? I don't mind forking out the $5 (actually $10
>in Australian pesos) but does it really work? Does anyone have a better
>way of delaying the user for a certain amount of time?
I would use a deadlock situation to my advantage...
<CFLOCK NAME="DummyLock" TYPE="EXCLUSIVE" TIMEOUT="2">
<CFLOCK NAME="DummyLock" TYPE="READONLY" TIMEOUT="2" THROWONTIMEOUT="No">
</CFLOCK>
</CFLOCK>
the first lock will obtain fine, the internal lock won't be able to because DummyLock
is already locked, after 2 seconds it will timeout without an
error and continue on it's merry way.
______________________________________________________________________
Dedicated Windows 2000 Server
PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists