In the application.cfm I write the following:

<CFSET APPLICATION.webroot = "http://www.mysite.com";>

Then I call this on certain pages in the application, such as:
<CFOUTPUT>#APPLICATION.webroot#</CFOUTPUT>

My question is this:

1) Do I need to use locks around everytime I call this APPLICATION
variable?
2) Can I get away with using a REQUEST variable instead of APPLICATION
variable when I write CFSET commands, such as (I know I can do REQUEST
variables for calling DSN connections):

<CFSET REQUEST.webroot = "http://www.mysite.com";> then
<CFOUTPUT>#REQUEST.webroot#</CFOUTPUT>

Thanks,
Mark

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.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