0 Replies Latest reply on Nov 4, 2008 5:34 AM by EvolvedDSM

    Keeping users logged in? (session variables)

    EvolvedDSM Level 2
      I have an app that requires a user to log in with username and password. If the credentials match the user database, the app allows them access for the duration that the app is alive.

      What I want is a solution to keep a user "logged in" for a certain period of time so they do not have to continually log into the system each time they visit the app. I've got ColdFusion to help with this, but I'm not sure how to make it work with Flex. I've done session variables in regular CF pages (cfm) but it's been a while and this is a different animal altogether.

      I also have read a little about using SharedObject and how it can store limited data on a user's PC (sort of like a cookie I guess). But I'm not sure how this works either.

      Can someone shed some light on an easy way to handle sessions?