Dear friends,

Sorry for this stupid question but I really didn't find a consensus on
that. What is the best variable scope to be used on applications (not
using Fusebox or any other methodology) that need to be present on every
template. Variables that we can use in the Application.cfm to set a
datasource name, page titles, etc. Application scope is not consider
because it requires the use of CFLOCK and I don't want to remember it
(and lock my code) everytime I need to output a datasource name, for
example.

I use the simple Local variables (by seting it using <CFSET var="value">
or <CFSCRIPT> when there are many of than) but I have seen people using
Request.variable instead. Wich is best in terms of speedy and safety?

Thanks!
Alex

______________________________________________________________________
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to