You got it Bud!!  I was using the same application name in both
applications.  I copied the code from one to the other, although I changed
the DSN I forgot to change the application name.  So as soon as I changed
that, it worked without the hard code.

One more question:

Where do you put the <CFPARAM> tags you wrote above?  If you put them in the
application.cfm page, do you then refer to the DSn as
datasource="attributes.dsn1"or "attributes.dsn2"?

Thanks for your patience and time!!

-----Original Message-----
From: Bud [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 05, 2000 6:39 PM
To: [EMAIL PROTECTED]
Subject: RE: It takes CF 1 minute to close DSN


On 9/5/00, Miriam Hirschman penned:
>It worked on my computer,  I didn't test it on the real server yet but I
>think it would work there too.  Is my method of using
>#application.settings.dsn# incorrect?  Before I upload the changes, I
wanted
>to know if it makes sense that that is what's causing the error.

If you have 4 datasources, you would want 4 names.

application.settings.dsn1
application.settings.dsn2
application.settings.dsn3
application.settings.dsn4

I personally don't understand why you would want, or need, to set the
datasource names with application variables anyway.

<CFPARAM NAME="attributes.dsn1" DEFAULT="dsn1">
<CFPARAM NAME="attributes.dsn2" DEFAULT="dsn2">

Does it for me. :)
--

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to