well... say you're going from a form to an insert..
you'd have to reference all your variables with the
caller scope or pass the explicity in your cfmodule
call.. 

basically, cfmodule runs the code you call with it in
a seperate memory space, so all attributes and
variables scoped variables disappear and are only
accessable via the caller scope.

plus cfinclude is faster.

make sense? :)

--ken


--- Toby Tremayne <[EMAIL PROTECTED]> wrote:
> why use cfinclude rather than cfmodule?
> 
> 
> Toby Tremayne
> Code Poet and Zen Master of the Heavy Sleep
> Show Ads Interactive
> 359 Plummer St
> Port Melbourne
> VIC 3207
> P +61 3 9245 1247
> F +61 3 9646 9814
> ICQ UIN  13107913
> 
> -----Original Message-----
> From: Ken Beard [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 9 February 2001 7:11 AM
> To: Fusebox
> Subject: Re: silly question
> 
> 
> You want to call the home app with a fuseaction that
> leads to circuit2.  Also, you probably want to have
> your home app cfincluding your circuit indexes, not
> cfmoduling them.
> 
> --- Toby Tremayne <[EMAIL PROTECTED]> wrote:
> > This may seem like a silly question but something
> is
> > eluding me...
> >
> >     I have:
> >
> >     HOME APP
> >             CIRCUIT 1
> >
> >             CIRCUIT 2
> >
> > My HOME APP does nothing by itself, it just has a
> > bunch of cfmodule calls in
> > the index.cfm file to call each circuit app as
> > necessary.  When the user
> > goes to the HOME APP, the default fuseaction calls
> > CIRCUIT 1.  Within
> > CIRCUIT 1, there is an option which requires the
> > user to be transferred to
> > CIRCUIT 2.  with me so far? <g>
> >
> > this is the bit that gets me - HOW should I move
> the
> > user once they've
> > clicked the link for this option in CIRCUIT 1?
> > Should it call the CIRCUIT 1 index.cfm with a
> > fuseaction that leads to
> > CIRCUIT 2?  Should it call cflocation to the HOME
> > APP with a fuseaction that
> > cfmodules CIRCUIT 2?  or should it directly
> cfmodule
> > CIRCUIT 2?  or should
> > it cfmodule the HOME APP which then CFMODULES
> > CIRCUIT 2?
> >
> > I know this sounds confused but I'm hoping someone
> > knows what I'm on about
> > and can let me know what best practise here is,
> > because I'm still new to
> > fusebox.
> >
> > Toby
> >
> > Toby Tremayne
> > Code Poet and Zen Master of the Heavy Sleep
> > Show Ads Interactive
> > 359 Plummer St
> > Port Melbourne
> > VIC 3207
> > P +61 3 9245 1247
> > F +61 3 9646 9814
> > ICQ UIN  13107913
> >
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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