0 Replies Latest reply on Nov 25, 2011 6:59 AM by anand kothalanka225

    Session management in flex

    anand kothalanka225

      Hello

       

      I have a  class which maintains session in java.The class looks as follows..

       

      public class SessionCheck {

         

          public FlexSession session;

          

          public SessionCheck()

          {

              session = FlexContext.getFlexSession();

          }

         

          public  String getFlexSessionId(){

              String sessionId=new String();

              sessionId=session.getId();

              return sessionId;

          }

       

      public  String  removeFlexSessionId(){

         

              session.invalidate();

          }