0 Replies Latest reply on Jun 16, 2011 7:12 AM by Zepse7en

    Flex 4 User Login system Logout functionality/disconection from service

    Zepse7en

      So I initially have a user login app that when logged in shows the user information in a datagrid

       

      now when i logged out i was having a problem where when i logged into a different account it would show you the info for the previous account, i figured out that the problem was that i wasnt disabling my database connection, so i have been messing around with it and simply used the method from my datagrid

      creationCompleteHandler which is

       

           getAllDesignsResult2.token = designsService.getAllDesigns();

       

      and it into a result handler of my logout btn, now this causes an error because i get the fault error message after i click the btn but it also disables the connection therefor kind of working...

       

      so does anyone know the method of disabling  this method?

       

      Thanks