ok...i now know what i have to do. once again, i thank you all
for your assistance.

~ dina

----- Original Message -----
From: "Pascal Peters" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 25, 2002 10:23 AM
Subject: RE: application.cfm??


Your concern is justified. The Application.cfm up the directory
structure will be included and can cause problems. That's why it
is
recommended to ALWAYS have an Application.cfm (read my previous
post
below). Because in FB, you tend to use <CFPARAM> to set
parameters, some
vars could get you in trouble.
Example:
On your c drive you copied an Application.cfm containing the code
<cfset
request.dsn = nonexistingdsn>
In your root fbx_settings.cfm you set the dsn for your
application with
<cfparam name="request.dsn" default="mydsn">
Result:
All your queries fail because they keep looking for the data
source
nonexistingdsn !!

Pascal Peters
Certified ColdFusion Advanced Developer
Macromedia Certified Instructor
LR Technologies
Av. E. De Mot, 19
1000 BRUSSELS, BELGIUM
Tel: +32 2 639 68 70
Fax: +32 2 639 68 99
Email: [EMAIL PROTECTED]
Web: www.lrt.be


-----Original Message-----
From: Dina Hess [mailto:[EMAIL PROTECTED]]
Sent: donderdag 25 april 2002 16:51
To: [EMAIL PROTECTED]
Subject: Re: application.cfm??


thank you all. your explanations were all very clear. my biggest
concern
was that if an application.cfm was *not* included in an fb3 app,
cf
would look for it all the way up to the root (per forta). if that
were
the case, would fbx_settings overwrite any potential conflict?

~ dina

----- Original Message -----
From: "Pascal Peters" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 25, 2002 9:28 AM
Subject: RE: application.cfm??


Keep in mind that you can't stop CF from including the nearest
Application.cfm automatically. To avoid problems you should
ALWAYS have
an Application.cfm in the applicationroot. If you don't want to
use it,
just have one CR/LF in the file (because CF can't handle empty
templates).

Pascal

==

==^================================================================
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