All, I'm trying to ensure only one user can run a block of code at a given moment, putting off any others for a moment until that user's operation is done. There's not much chance a conflict will arise, but I'd like to make sure.
Will this code do the trick? At 2am my thinking is even cloudier than usual. <CFLOCK NAME="MyLock" TYPE="EXCLUSIVE" TIMEOUT="10"> ..stuff goes here... </CFLOCK> --Matt Robertson-- MSB Designs, Inc. http://mysecretbase.com ______________________________________________________________________ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists