I am new to Flex. I have requirement like "store and retreiving a value in FlexSession instead of passing it to UI". The application in which I am working is an existing application where the value which I mentioned is generated from a service call and storinand reteiving it inside a DB. I neeed to modify it so that it should be from Flex Session.
I tried using FlexContext.getFlexSession().setAttribute("abc","value");
But while retreiving through FlexContext.getFlexSession().getAttribute("abc") it is returning null.
Could somebody help in finding a solution for this. It is urgent.
There is no such thing as FlexContext in the sdk, so it means that is a custom class. It would obviously help if you would give more
relevant details of your issue instead of hoping that people would just guess what your issue is.
Thanks for your reply Claudiu. FlexContext comes from flex-messgaing-core.jar and I don't think it is a custom class. And my issue got solved . I think I missed the below entry in web.xml,
<!-- Http Flex Session attribute and binding listener support -->