Do you see your dsn if you <cfdump var="#application#"> ? > -----Original Message----- > From: Jason T. Slack [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 15, 2006 8:09 AM > To: CF-Talk > Subject: Re: BlueDragon Question > > Hi Rick, > > I noticed that. Here is what I have: > > 1: > 2: <!--- Check Locations table first to see if the location id and > password is right---> > 3: <cfquery name="ckCreds" datasource="#Application.dsn#"> > 4: SELECT LocationID, LocationName FROM Locations > 5: WHERE LocationID = <Cfqueryparam cfsqltype="cf_sql_varchar" > > ^ Snippet from underlying CFML source > > and I have the following in application.cfc > > > <cffunction name="onApplicationStart" returnType="boolean" > output="false"> > <!--- When did the application start? ---> > <cfset APPLICATION.appStarted = now()> > > <cfset Application.dsn = "webPOS"> > > <cfreturn true> > </cffunction> > > -Jason
"EMF <idahopower.com>" made the following annotations. ------------------------------------------------------------------------------ This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ============================================================================== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260512 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

