> Hi,
> I am trying a simple way to test to see if a datasource is working. I 
> have a new host, and they set it up weird. I just don't want to create 
> a database to check the datasource.
> 
> In my Application.cfc page I have
> <cfcomponent>
  
> <!--- Any variables set here can be used by all the pages--->
  
> <cfset REQUEST.dataSource ="my datasource name">
> </cfcomponent>
> 
> then I make another page called datasource with
> <cfoutput>#dataSource#</cfoutput>
> 
> Should this not tell me the name of the datasource?
> When i try I get a error saying Variable DATASOURCE is undefined
> 
> Thanks for any help!
> Johnny 


When I use REQUEST.dataSource it tells me the name set in the Application.cfc
boy I feel dumb!

Johnny 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5753
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to