0 Replies Latest reply on Sep 9, 2007 3:43 AM by nihao_paul

    PHP session id?

      Hi,

      Sorry guys, this is more about php I suppose.

      I can login authenticating to a mysql database and create a php session and return a session_id() to flex but not sure what to do then! I suppose I can send this id from flex to every request I make to the server (URLLoader) but if there's multiple logged in users how do I know (php know) which session is which. Something like?:-

      if($my_session == session_id() )
      {
      // do things
      }

      But how does session_id() kow which session I'm talking about? Any help appreciated, I'm a newbie at flex and php. Thanks,

      Paul