nachtmsk
asked on
Cold Fusion code question
Hi,
I'm not a CF programmer. I maintain CF code done by someone else.
I have this line
<cfif request.customAgentSite.gu iassociate id neq "">
and I am trying to figure out two things.
1. Where did the 'request' method come from?
2. Where did the customAgentSite object come from? I don't see it mentioned anyplace else in the file.
What I need to do if figure out where these objects are coming from initially and then figure out if the statement above evaluates to true or false.
Thanks
nacht
I'm not a CF programmer. I maintain CF code done by someone else.
I have this line
<cfif request.customAgentSite.gu
and I am trying to figure out two things.
1. Where did the 'request' method come from?
2. Where did the customAgentSite object come from? I don't see it mentioned anyplace else in the file.
What I need to do if figure out where these objects are coming from initially and then figure out if the statement above evaluates to true or false.
Thanks
nacht
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
> Request is not a Method, it is a Scope which is assigned to a variable
It is the other way around. Variables are assigned to the request scope, not vice versa.
It is the other way around. Variables are assigned to the request scope, not vice versa.
What exactly you are trying to say here?
Huh? It's self explanatory ... not sure what the question is here.
well, user asked in this question as a first point
> Request ...is a Scope which is assigned to a variable
>>> "Variables are assigned to the request scope, not vice versa."
lol.. I still don't understand what you're asking. What part of the correction is unclear?
>>> "Variables are assigned to the request scope, not vice versa."
lol.. I still don't understand what you're asking. What part of the correction is unclear?
?
http://stackoverflow.com/questions/25672/coldfusion-when-to-use-the-request-scope