Right, you can't do that. The variables scope in App.cfc isn't copied to the template.
Unless you use onRequest. But that has some drawbacks as well. Why not simply simply use the Request scope? On Thu, May 22, 2008 at 3:10 PM, Richard White <[EMAIL PROTECTED]> wrote: > hi > > is it possible to set page variables in the onRequestStart method of the > application.cfc? > > if i enter the following code in the application.cfc: > > <cfset variables.myVariable = "myVariable"> > > and the following code in my page: > > <cfoutput>#myVariable#</cfoutput> > > i get an error message when running a page saying myVariable is not defined > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305923 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4