wont that just create a link to the session? surely duplicate() is much better? or have I gone mad... and readonly lockwill suffice. oh and the timeout is a little excessive, it shouldn't ever reach that level, and users shouldn't have to wait 45 seconds even if it needs to be that long... if it needs to be that long, I'd thing about rewriting the while site. ----- Original Message ----- From: "Robertson-Ravo, Neil (REC)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 17, 2002 10:23 AM Subject: [ cf-dev ] Good/Bad?
> 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> > > N > > -- > ** 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] __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- ** 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]
