Thanks guys you have confirmed what I thought : it is all over the
place...the system is very poor and indeed needs a rewrite but thats not on
the cards.

what needs to be done is to copy the session variables into the request
scope to avoud locking them....

its a nightmare, it really is!

-----Original Message-----
From: Tom Smith [mailto:[EMAIL PROTECTED]]
Sent: 17 October 2002 10:48
To: [EMAIL PROTECTED]
Subject: Re: [ cf-dev ] Good/Bad?


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]

-- 
** 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