Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Francisco Mancardi #1
web services and Application scope
how do I see my Application variables within a method of a webservice-called
CFC?
I have an external system that calls my coldfusion mx 7 app through a web
service.
I wrote a CFC with methods with access="remote" to expose them.
The external system (not a CF app) calls a method that runs some queries
against a database.
In the body of that method, how can I see my Application variables (i need to
know the DSN, and other variables that I
saved in the Application scope)?
Thanks for your help
Francisco Mancardi Guest
-
Application Scope variables ?
I am migrating to PHP from ASP where there are the Application Scope variables which are accessible from any page on a website and which are used, in... -
Application.xml ->Process->Scope
server: Dual Processor Dual Core Xeon - 3.4GHz Ram: 2 GB DDRII Operating System: CentOS 4 (32 bit) -FEDORA X.X -RED HAT - ECC. I changed the... -
Application.xml->Process->Scope
erver: Dual Processor Dual Core Xeon - 3.4GHz Ram: 2 GB DDRII Operating System: CentOS 4 (32 bit) I changing the scope in the application.xml to... -
scheduled tasks and application scope
Hi. I am running ColdFusion 5.0. It seems that application variables are not available to scheduled tasks. If I try to run a task manually through... -
Application Scope
I have a farm of CF5 servers. In order to reduce the number of times I hit the database, I'm saving data within the application scope. I'm setting... -
Stressed_Simon #2
Re: web services and Application scope
Your Application.cfm is called for every .cfm or .cfc in your app, so if they
are in there they will be available to your CFC and therefore can be used in
the remote function you are calling as a Web Service.
Stressed_Simon Guest
-
Unregistered #3
Re: web services and Application scope
That is not true. Application variables are available to requests that include the cfapplicaiton tag. Webservices don't include the Application.cfm like normal requests do.
Unregistered Guest
-
Unregistered #4
Web services and Application scope
That is not true. Application variables are available to requests that include the cfapplicaiton tag. Webservices don't include the Application.cfm like normal requests do.[/QUOTE]
You're wrong. Application.cfm/cfc is called every time CFM or CFC is called. So, you can always reference application.variableName in the method.Unregistered Guest
-
n_kips #5
Re: web services and Application scope
Don't quite understand your question, but if you want to see application variables:
<cfoutput>
<cfdump var="#application#">
</cfoutput>Last edited by n_kips; May 28th at 11:56 PM.
Junior Member
- Join Date
- May 2012
- Posts
- 3



Reply With Quote

