Is this a simple Java POJO based unnamed service for remote-object? I'm
not sure what you mean by the event handler class's methods... do you
mean the POJO that functions as your remote object service has static
methods? If so, then are you trying to do something in a static context
like initialize the class before it is invoked? Is anything else
possibly initializing that class besides RemoteObject?

Note that while the getHttpRequest() method is accessed as a static
method on flashgateway.Gateway, it is backed by a thread-local variable
that is only populated when the request comes through the servlet at
invocation time and is destroyed after the servlet sends the response.




-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Dmitry Miller
Sent: Thursday, April 20, 2006 8:39 PM
To: [email protected]
Subject: [flexcoders] Re: Problem with AMFGateway and Sessions - please
help

I assume so. The event handler class's methods are all static. This is
also unnamed service.

Thanks,

--- Dmitry

--- In [email protected], "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> Did the request come through the gateway servlet?
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED]
> On Behalf Of Dmitry Miller
> Sent: Wednesday, April 19, 2006 8:18 PM
> To: [email protected]
> Subject: [flexcoders] Problem with AMFGateway and Sessions - please
> help
>
> trying to retrieve session in my request handler class via
>
> flashgateway.Gateway.getHttpRequest().getSession(true);
>
> The problem is that flashgateway.Gateway.getHttpRequest() returns null
>
> I am using Flex 1.5
> Any suggestions?
>
> Thanks
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to