troubleshooting Question

How can I tell when I am in the request scope and/or the response scope.

Avatar of mfreeman2
mfreeman2 asked on
Web ServersColdFusion Language
3 Comments1 Solution207 ViewsLast Modified:

I am maintaining a coldfusion application that was developed by another developer.
In the code are references to items in the request scope e.g. <cfset request.datasource="DataSourceName"> or <cfset request.VariableName="DataValue">I understand that these are variables defined in the request scope but I am not sure that I understand the "scope" (if you will) of the request scope. That is, for variables defined in the request scope, when/where are they accessible. Is it before a page is sent to the server, after a page returns from the server, both, or it doesn't matter?

Same question for response. For example there is a response scope in (in believe) classic ASP that allows you to code "response.write("data_to_write"). At what time is a web page in the response scope.

Also, if you are familiar with a good source of information on this subject I would appreciate a reference to it, although this third part of the question is not necessary to be awarded the points.

Thanks much,

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros