If it is based on the USER
then make is SESSION:
<CFSET Session.MM = ArrayNew()>
Else if used exactly the same for ALL users:
<cfset appliction.MM= ArrayNew()>
-----Original Message-----
From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 9:43 AM
To: CF-Talk
Subject: RE: Calling variables from within a custom tag
To everyone, I'm using it to build the various menu systems (up to 7 levels
deep!) - thus every page on the site will be calling this custom tag.
> -----Original Message-----
> From: Adkins, Randy [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 24, 2001 3:06 PM
> To: CF-Talk
> Subject: RE: Calling variables from within a custom tag
>
>
> Does it need to be applied to everyone that
> enters the application or just to the user?
>
> -----Original Message-----
> From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 24, 2001 8:42 AM
> To: CF-Talk
> Subject: RE: Calling variables from within a custom tag
>
>
> If I make it an application variable, I will need locks around every read
> (and there will be many reads) - will this not slow down my pages
> considerably?
>
>
>
> > -----Original Message-----
> > From: Adkins, Randy [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 24, 2001 2:29 PM
> > To: CF-Talk
> > Subject: RE: Calling variables from within a custom tag
> >
> >
> > If you need it in other pages for the GIVEN user
> > you can make is a SESSION variable.
> >
> > If the same data is used for all users and does not
> > change often, you can make is an APPLICATION
> > variable or place the array into a DB and call it.
> >
> >
> > -----Original Message-----
> > From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 24, 2001 8:14 AM
> > To: CF-Talk
> > Subject: Calling variables from within a custom tag
> >
> >
> > I need to load a massive array into memory - I was going to do
> this in the
> > application.cfm, but I need the data in a custom tag. Is there
> any way of
> > accessing this info from within a CT?
> >
> > My other option would be to put all this info into an include,
> > which I call
> > from the CT. Can I cache an include file?
> >
> > Thanks,
> > Steve
> >
> >
> >
> >
> >
> > Development Manager
> > Vardus Internet Solutions (SA)
> >
> > Tel: (+27) 21 670 9880
> > Fax: (+27) 21 674 4549
> >
> > Email: [EMAIL PROTECTED]
> > Website: www.vardus.com
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists