I am using a cfscript in application.cfm to hold a structure containing
application variables and it's giving me some strange errors:

<CFLOCK TIMEOUT ="#CreateTimeSpan(0,0,1,0)#"
TYPE = "EXCLUSIVE">
 <CFSCRIPT>
    APPLICATION.stuff = StructNew();
    APPLICATION.stuff.dsn='blah';
    APPLICATION.stuff.style1='somedir/styl.css';
</CFSCRIPT>
</CFLOCK>
the style sheet entry causes the problem when a put the
variable into a page it produces an error.

Variable #APPLICATION.stuff.style1# is not defined in the application scope.

All the other variables defined in this matter work ok
any ideas.

Thanks
Rick



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to