Hi, John.

Are you certain that the "test" folder is in the hierarchy of your site?  I've 
never heard
of an application.cfm that wouldn't work if it was somewhere in the hierarchy.  
It's my
understanding
that CF will keep search up the hierarchy of folders searching for an 
application.cfm or .cfc
until it reaches the root directory.  The first one it finds is the one it 
reacts to.

Just curious as to why this isn't working for you.

Rick

> -----Original Message-----
> From: John Barrett [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 24, 2008 2:57 AM
> To: CF-Newbie
> Subject: Re: cf query help
> 
> Hi Rick,
> Thanks for your reply. I did think that one Application.cfm of 
> Application.cfc was good through
the
> whole site, but on this one I have Application.cfm in the root, and lots of 
> sub folders within the
site.
> It is a pretty big one. In one is  a folder called test, which is 4 folders 
> into the site. that is
> {root}/folder1/folder2/folder3/folder4/test_cfqurty.cfm It would not work, 
> but when I moved the
file
> into the root where the Apllication.cfm was it did work. I will try the 
> #application.dsn# insted
of the
> #request.dsn#. I think that they work they same to naming the datasource 
> globally in your app. I
could
> be wrong about this however.
> 
> I think that:
> <cfset application.dsn="my_datasource"> is the same as <cfset request.dsn 
> ="my_datasource">
> John
> 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3870
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to