> This is a question for those of you in the know...
>
> Is there an advantage to putting application variables into the request
> scope instead of having application variables around a conditionaly
> statement to only load once per timeout.
>
> So in your Application.cfm one would have
> <cfscript>
> request.applicationVar1 = 1;
> request.applicationVar2 = 2;
> request.applicationVar3 = 3;
> </cfscript>
>
> instead of
>
> <cfif>
> <cfscript>
> application.applicationVar1 = 1;
> application.applicationVar2 = 2;
> application.applicationVar3 = 3;
> </cfscript>
> </cfif>
I use the Request scope when I'm not running an Application and want
variables visible in Custom Tags (called by CF_)
I rarely use Applications as I don't like the CFID and CFTOKEN cookies/URL
bits, but Request definitely comes in handy
Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists