1 Reply Latest reply on Aug 11, 2006 7:01 AM by peterent

    cookies in Flex

      I am new to Flex. Could someone tell me how to add into cookies, remove from cookies and get the value from cookies using Flex 2.
        • 1. Re: cookies in Flex
          peterent Level 2
          Flex, or more specifically, the Flash Player , does not use cookies. You can use the ActionScript class, SharedObject, to save some data between sessions on the user's computer. SharedObjects are complete under the control of the user - if you right-click the mouse over the Flash Player you can use the Settings dialog to configure it. SharedObjects are pretty easy to use.

          If you need to use real Cookies, then look at the ExternalInterface API which will let your Flex application communicate with the browser via JavaScript and let JavaScript handle the cookie work.