I can't confirm whether or not this is the expected behaviour, but I
can confirm this behaviour applies to a number of scopes, in fact the
only one that worked was the request scope (and though I haven't
tested this the application scope should work as well).

If you do a :
<cfdump var="#getPageContext()#" />

you'll be able to see the methods available and also that Request and
application are the only ones returning a type (java.lang.String). Not
sure how this will help you, but maybe someone else can shed a little
more light?

G

On Thu, 16 Sep 2004 09:37:30 -0400, Alexander Sherwood
<[EMAIL PROTECTED]> wrote:
> Hello all.
>
> Some strange or (so it seems so) behavior with GetPageContext().Include() function.
>
> If you set a session variable at the top of a page, execute a GetPageContext().Include() below, and try to access the session variable from the "included" page, CF cannot find the session variable.
>
> If I change the GetPageContext().Include() to a standard [CFINCLUDE], the included page can see the session variable just fine.
>
> Is this the expected behavior?
>
> Thanks much,
>
> --
> Alex
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to