0 Replies Latest reply on Mar 19, 2010 6:35 AM by Mete Atamel

    [svn:fx-trunk] 14878: Bug: BLZ-501 - Login-after-disconnect flag does not work after session timeout

    Mete Atamel Level 1

      Revision: 14878

      Revision: 14878

      Author:   matamel@adobe.com

      Date:     2010-03-19 06:34:54 -0700 (Fri, 19 Mar 2010)

      Log Message:

      ***********

      Bug: BLZ-501 - Login-after-disconnect flag does not work after session timeout

      QA: Yes

      Doc: No

       

      Details: MessageAgent#reAuthorize method was calling MessageAgent#disconnect method with the assumption that this fully disconnected the Channel and internalSend triggers a reauthentication (login) with Channel#interalConnect and cached credentials. This was a wrong assumption in cases where multiple MessageAgents use the Channel. Now, instead, ChannelSet#disconnectAll is called to make sure Channel is fully disconnected which in turn makes sure Channel#internalConnect is called with cached credentials.

       

      Ticket Links:

      ***********

          http://bugs.adobe.com/jira/browse/BLZ-501

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageAgent.as