Yes, Erik. I also use it during development to see if I'm made a typo in a
fuseaction by having it display, "I received a fuseaction called
#attributes.fuseaction# that I don't have a handler for."
-----Original Message-----
From: Erik Schaareman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 2:47 PM
To: Fusebox
Subject: Re: XFB musings (was RE: What is the difference...)
A default fuseaction IS a very good thing to do, since this will allow
you to put some security code between your <CFDEFAULTCASE></CFDEFAULTCASE>
tags. So if anyone tries to access pages using unknown fuseactions,
you can do a number of thing:
- logging and debugging
- Give the user an default error message
- and in case of some really naughty user:
<CFSET APPLICATION.BlackList =
ListAppend(APPLICATION.BlackList,"#CGI.REMOTE_ADDR#")>
:) Erik
----- Original Message -----
From: "McCollough, Alan" <[EMAIL PROTECTED]>
To: "Fusebox" <[EMAIL PROTECTED]>
Sent: Wednesday, May 30, 2001 18:12
Subject: RE: XFB musings (was RE: What is the difference...)
> I agree. In my apps, I usually make the default fuseaction to be
"homepage",
> and if no explicit fuseaction is given for any sub-fuse, the user gets the
> "homepage" fuseaction for that sub-fuse. And yeah, the default page for
all
> my cf stuff is "index.cfm", so if somebody goes www.ourcompany.com/clients
> they get the Clients page.
>
> I think its a good idea to have a default fuseaction. Beats giving the
> client a blank white page.
>
> > -----Original Message-----
> > From: Ken Beard [SMTP:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 29, 2001 5:04 PM
> > To: Fusebox
> > Subject: Re: XFB musings (was RE: What is the difference...)
> >
> > customers really like being able to tell their clients "go to
> > www.ourcompany.com/clients for more information"
> > fuseaction=clients just doesn't have the same appeal.
> {redacted}
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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