Jeez Louise, I've never heard of the Request scope. Is there anywhere that has a
definitive list of all the scopes?

David

[EMAIL PROTECTED] wrote:
> 
> Just wanting some opinions on using the request scope to hold "copies" of
> application and server variables (only the necessary ones, not an entire
> StructCopy())
> 
> Would this increase performance by decreasing the number of locks that occur
> on a page? It would look something like this:
> 
> [ snippet ]-----
> 
> <cflock name="Application">
>         <cfscript>
>                 Request.myVariable = Application.myVariable;
>                 Request.myVariable2 = Application.myVariable2;
>         </cfscript>
> </cflock>
> <cflock name="Server">
>         <cfscript>
>                 Request.myVariable = Server.myVariable;
>                 Request.myVariable2 = Server.myVariable2;
>         </cfscript>
> </cflock>
> 
> [ instead of ]-----
> 
> <cflock name="Application"><cfset Variables.myVariable =
> Application.myVariable></cflock>
> <cflock name="Application"><cfset Variables.myVariable2 =
> Application.myVariable2></cflock>
> 
> Opinions? Comments? Send flames directly. ;-)
> 
> Jason Stiefel
> Software Engineer
> iXL, Inc.
> 1930 Camden Road, Suite 2070
> Charlotte, NC 28203
> tel. 704.943.7000
> fax. 704.943.7001
> [EMAIL PROTECTED]
> 
> ------------------------------------------------------------------------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to