I think Pradeep's question is the same as mine. Is there a method in Flex to gain access to the webcontainers session information? We need this because we have a lot of existing server side code that uses a session object to determine login status, user rights, etc. We also use sessions to help determine the load on our servers.
What is the recommended method for sharing session information with a Flex/Flash client and the server when using remote objects? Thanks in advance, Brett On 5/5/05, Matt Chotin <[EMAIL PROTECTED]> wrote: > > > > Hmm, that seems odd considering we need a request to reach the RemoteObject. > You're not spawning a thread are you? > > > > ________________________________ > > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Pradeep > Sent: Thursday, May 05, 2005 4:48 AM > To: [email protected] > 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 > > > To visit your group on the web, go to: > http://groups.yahoo.com/group/flexcoders/ > > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

