Hi,

To answer your second question, the use of Application.cfm in the
traditional way, for setting global variables, is discouraged because it
gets executed *before* the core file, and also because it is ColdFusion
specific, making it harder to port apps to other platforms. But I can't
see any reason not to use Application.cfm to prevent direct access to
fuses - in fact I can't think of any other way to do it in CF (someone
else will probably prove me wrong here). 

HTH,
Kay.
______________________________________
Kay Smoljak              Web Developer
Custom Tags: developer.perthweb.com.au

> -----Original Message-----
> From: Ney Andr� de Mello Zunino [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, 31 May 2002 6:19 PM
> To: Fusebox mailing list
> Subject: Default Fuseaction
> 
> 
> Hello.
> 
> The FBX_Switch.cfm in the core files includes the following:
> 
> <cfcase value="fusebox.defaultfuseaction">
>    <!--- This will be the value returned if someone types in
>          "circuitname.", omitting the actual fuseaction 
> request ---> </cfcase>
> 
> And the FBX_Fusebox30_CFxx.cfm core file has:
> 
> if (ListLen(FB_.rawFA, '.') is 1 and Right(FB_.rawFA,1) is '.')
>    //circuit only specified, no fuseaction such as 
> "fuseaction=circuit."
>    fusebox.fuseaction = "fusebox.defaultfuseaction";
> 
> That covers for the case when a URL is entered with a circuit 
> name *and 
> a dot*, but without the fuseaction. What is the reason for 
> excluding a 
> case such as when no dot is entered?
> 
> Another (related?) question: what is the "standard" way of handling 
> direct access attempts to circuits or fuses other than the 
> fusebox? The 
> Fusebox 3.0 Tutorial� on Hal Helms' website suggests that the 
> application.cfm file could be used for that purpose. However, I have 
> read on another Fusebox resource that the use of that file is 
> discouraged in Fusebox 3.0. What gives?
> 
> Regards and may everyone enjoy the world cup,
> 
> -- 
> Ney Andr� de Mello Zunino
> Media and Technology Laboratory
> Campus Computing Centre
> United Nations University
> 
> [1] http://www.halhelms.com/index.cfm?fuseaction=tutorials.detail
> 
> > 

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================

Reply via email to