1 Reply Latest reply on Jun 5, 2008 1:18 AM by Johan

    Sessions and AIR

    Apts247
      HI,
      I have several server-side scripts that check session info before spitting out xml. When i make service with air, the script fails. The user is logged in from the online form, so if thats the case, how can AIR retrieve that session information.
      Thanks
        • 1. Re: Sessions and AIR
          Johan
          The concept of a session is not really appliable since sessions are really a way web applications maintain state with stateless web client (browser). In an Air/Flex app you can maintain state on the client (typically in you model) so should not have to rely on a session on the application server. When you need to exchange information then the client should authenticate/connect via a service (http form, AMF, SOAP etc.) and not rely on a session.