Hi,
I'm upgrading from CF 4.0.1 to CF 5 and I have read that locking changed 
from 4.0 to 4.5. I'm currently using application variables and wanted some 
thoughts on this:
Does anyone see any issues with moving all of my application variables to 
the request scope in application.cfm using:
<cflock SCOPE="Application" Timeout="30" Type="Readonly">
     <cfset request=duplicate(application)>
</cflock>

So am I correct that this would mean if i had variables application.foo and 
application.foobar they will then be request.foo and request.foobar?  Would 
it be wise to set the request variables in another page other than 
application.cfm since application.cfm is always hit?
OR is there a better way to deal with this? Any tips/tricks/advice is 
appreciated!

Rob





______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to