Pete,
You need to have application in front of the variables name i.e.
application.datasource no just datasource.
Brian Knott
-----Original Message-----
From: pete mawhinney [mailto:[EMAIL PROTECTED]]
Sent: Friday, 31 January 2003 3:26 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: difficulties with application and session vars
in CF
Thanks Mark;
Its all in the top folder now and even though its win box I did the
Application.cfm rename for good measure. Still getting the same error
though.
Here is an example of the useage:
<cfquery name="getUser" datasource="#APPLICATION.DataSource#">
from authenticator.cfc
and in Application.cfm is the line
<cfset DataSource = "dbname">
Pete
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mark
Stanton
Sent: Friday, 31 January 2003 3:21 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: difficulties with application and session vars
in CF
Two possibilities:
- If you are on a *nix box rename application.cfm to Application.cfm
- Do you have another Application.cfm between where you are looking for the
variable and where you are setting it?
Try testing other application vars, also try moving the file that is
throwing the errors to closer to the Application.cfm in the directory
structure. The issue should become clearer.
Cheers
Mark
______________
Mark Stanton
Web Production
Gruden Pty Ltd
Tel: 9956 6388
Mob: 0410 458 201
Fax: 9956 8433
email: [EMAIL PROTECTED]
www.gruden.com
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/