FlexSession flexSession = FlexContext.getFlexSession();
HttpServletRequest requst = FlexContext.getHttpRequest();
HttpSession session = requst.getSession();
 
 
add the above into the base Class.