0 Replies Latest reply on Aug 21, 2006 12:36 PM by mdigman

    Using session variables in Flex 2

    mdigman
      I'm not sure if this is the correct place for this topic...but the Flex 2 upgrade/migration forum didn't seem too lively. So let me set up my situation and then pose the question.

      In Flex 1.5, I accessed the session servlet using:

      <mx:RemoteObject source="servlet" id="servlet"/>

      This allowed me to store session variables such as a user object:

      var u:User = new User();
      servlet.session("set", "user", u);

      This allowed me to access these variables from another Flex app:

      var user:User;
      servlet.session("get", "user");

      How would I go about doing this in Flex 2.0? Thanks to those who can help.