> 1) Will CF conect to a mdb DS through a network connection??
> 
> If I map a drive to a network machine and try to connect 
> using that drive letter in the CFA ODBC connection screen - 
> it doesn't seem to like that??
> 
> Has anyone done this successfully? How?

For this to happen, the CF service must run within a user security context
that allows network connections. You can read about how to run CF as a
specific user here:

http://www.defusion.com/articles/index.cfm?ArticleID=89

Once that's done, you can either create a persistent drive mapping for that
user, or simply use a UNC path:

\\servername\sharename\mydb.mdb

> 2) The application.cfm template is used on all template under 
> that directory... Shouldn't I be able to specify <CFAPPLICATION> 
> on a page under that same directory - with a different app name 
> and have that template function in it's own application scope???

There's a problem with this logic. If you put a CFAPPLICATION tag in a page,
and that page runs an application.cfm with its own different CFAPPLICATION
tag, then your script will have two CFAPPLICATION tags.

To be honest, I don't know how that would work, or what CF would do. It
doesn't sound like a good idea, though, and how it might behave now might
not be the way it works in a future release of CF. If you need to create a
separate application, even if that application is only one page, put it in a
separate directory with its own application.cfm.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to