Hi

 for as long as I have been writing Cold fusion code I have done this:
<cflock scope="session" timeout="10">
     <cfset request.userId= session.userId>
     <cfset request.productionhouseId = session.productionhouseId>
</cflock>
but everything works fine without the request scope

<cflock scope="session" timeout="10">
     <cfset userId= session.userId>
     <cfset productionhouseId = session.productionhouseId>
</cflock>


so my question is this

 Am I correct in setting session variables down to Request scope

or will the other way work just as well?
and if so .. why even have a request scope?

Matt *Newbie



|\--------------------/|
Matt Horn
Web Applications Developer
Ph:+2782 424 3751
W: http://www.matt-horn.org
E:[EMAIL PROTECTED]
|\--------------------/|

Reply via email to