Sample for accessing session data in Flex 1.5

(TechNote) A session servlet is provided in Macromedia Flex 1.0 to allow Flex applications to access the session data from RemoteObject. In Flex 1.5, the session servlet is still provided, but the recommended way of accessing session and other request data is to access the session through getHttpRequest()/getHttpResponse()/getServletConfig().