I have a method in an application scoped CFC that performs a <cfhttp> call.  It’s a barebones getpage that looks like this:

 

            <cffunction name="getPage" hint="I'm nothing more than a CFHTTP call and return the page">

                        <cfargument name="url" required="true" hint="I am the URL that you want to retrieve">

                        <cfhttp url="" timeout="120" throwonerror="true" method="get" ></cfhttp>

                        <cfreturn cfhttp.filecontent>

            </cffunction>

 

Is the cfhttp.filecontent a threadsafe variable?  If not, can it be made so?

-----------------------------------

Gerry Gurevich

Application Development

NIEHS ITSS Contractor
Lockheed Martin Information Technology
919-361-5444 ext 311

 

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]

Reply via email to