Nothing 'magical' is needed to turn an array into app var, you just set it.

> <cfset MM = ArrayNew(2)>
> 
> <cfset MM[1][1] = "1">
> <cfset MM[1][2] = "Home">
> <cfset MM[1][3] = "home.gif">         
> <cfset MM[1][4] = "index.cfm">        

<CFLOCK SCOPE="Application" TYPE="Exclusive" TIMEOUT=30>
        <CFSET Application.SuperChicken = MM>
</CFLOCK>

=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 24, 2001 9:26 AM
> To: CF-Talk
> Subject: RE: Calling variables from within a custom tag
> 
> 
> Thanks.
> 
> Any idea on how I turn an array into an application variable?
> 
> Here is my array:
> 
> 


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