Hmm, that seems odd considering we need a
request to reach the RemoteObject. You’re not spawning a thread are you?
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pradeep
Sent: Thursday, May 05, 2005 4:48
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HttpRequest
and HttpSession access in Remote Object
I'am using Remote Objects to call my Java class methods on server. For
maintaining user information I need Http Session
object. So I tried
using flashgateway.Gateway.getHttpRequest() and
flashgateway.Gateway.getHttpRequest().getSession()
to get HttpRequest
and HttpSession objects respectively. But
flashgateway.Gateway.getHttpRequest() method
returns null.
Unless I get reference to request obect I will not
be able to access
Session object.
Can anybody please suggest something?
Yahoo! Groups Links
|