Link to home
Start Free TrialLog in
Avatar of nachtmsk
nachtmskFlag for United States of America

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.guiassociateid 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
Avatar of erikTsomik
erikTsomik
Flag of United States of America image

it should be coming from a custom tag. or take a look at this post

http://stackoverflow.com/questions/25672/coldfusion-when-to-use-the-request-scope
ASKER CERTIFIED SOLUTION
Avatar of _agx_
_agx_
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
> 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.
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?