Odd... it needn't be an exclusive lock.. 
and 45 seconds is WWWWWAAAAAYYYY over the top

Taz

> I have just discovered this piece of code in a 3rd party CT..  its for
> copying session vars into the request scope.
> 
> <cfcase value="session2request">
> <cflock scope="SESSION" type="EXCLUSIVE" timeout="45">
> <cfloop collection="#session#" item="key">
> <cfset request[key] = session[key]>
> </cfloop>
> </cflock>
> </cfcase>


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to