I had to add quotes around "request" to get this to work, so I'm not sure
whether I've altered anything here:

<CFSET request.foo="bar">
<CFIF IsStruct("request")>
    request scope is available
<CFELSE>
    request scope ain't available
</CFIF>
<cfoutput><br>
#request.foo#</cfoutput>

When I ran this again, I received the following output:
request scope ain't available
bar

DOes this mean that I can't use bodycontent with 4.0.1 on NT?

Thanks for your help so far!

chris
-----Original Message-----
From: Bert Dawson [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 13, 2000 10:05 AM
To: Fusebox
Subject: RE: Cf_BodyCOntent


The request scope was introduced fairly recently - not sure exactly when,
but i think it was 4.5.
run this snippet should let you know if it there or not...

<CFSET request.foo="bar">
<CFIF IsStruct(request)>
    request scope is available
<CFELSE>
    request scope ain't available
</CFIF>

Bert

> -----Original Message-----
> From: Chris Bogzevitz [mailto:[EMAIL PROTECTED]]
> Sent: 13 November 2000 14:53
> To: Fusebox
> Subject: Cf_BodyCOntent
>
>
> Is there a known problem with cfbodycontent and CF Server
> 4.0.1?  I cannot
> get any output from request.bodycontent.
>
> Chris
>
> --------------------------------------------------------------
> ----------------
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
> s/fusebox or send a message to
> [EMAIL PROTECTED] with 'unsubscribe' in the body.
>
----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to