Friday, March 27, 2009

How do I get access to the J2EE session from my RemoteObjects

Question :How do I get access to the J2EE session from my RemoteObjects?
Answer :The AMF Gateway provides access to the current HttpServletRequest instance in a thread local
variable. The session can be obtained from the request, as follows:
flashgateway.Gateway.getHttpRequest().getSession();

No comments: