[ColdFusion] - What scope is result from CFHTTP contained within?

Hello, everyone,

If I use CFHTTP to access a page and store the results in “cfhttpResults”, what scope is “cfhttpResults” stored in? Variables? This? Local?

I need to make sure that “cfhttpResults” exists before starting to process the data, and would like to use StructKeyExists() to check for it.

Which would be proper:
A) StructKeyExists(VARIABLES,‘cfhttpResults’)
B) StructKeyExists(THIS,‘cfhttpResults’)
3) StructKeyExists(LOCAL,‘cfhttpResults’)

V/r,

:slight_smile:

Nevermind… StructKeyExists(VARIABLES.cfhttpResult,“fileContent”) checks for the existence of it.

:slight_smile: