0 Replies Latest reply on Apr 25, 2008 5:49 AM by Mete Atamel

    [svn] 1412: Bug: BLZ-133: If cookies are disabled on the client we should be using jsessionid in the url to track HTTP sessions .

    Mete Atamel Level 1
      Revision: 1412
      Author: matamel@adobe.com
      Date: 2008-04-25 06:49:02 -0700 (Fri, 25 Apr 2008)

      Log Message:
      -----------
      Bug: BLZ-133: If cookies are disabled on the client we should be using jsessionid in the url to track HTTP sessions. This functionality is currently broken for AMF.
      QA: Yes!
      Doc: No

      Details: This is the client side of the fix, there will be a server side fix shortly. If cookies are disabled on the client, it is detected as duplicate session on the server. HTTPChannel was working correctly in terms of adding jsessionid in the url but it was always triggering the duplicate session detection on the server when cookies were not enabled. To fix that, moved AppendToGatewayURL header processing to pingCompleteHandler so the jsessionid is appended before triggering the duplicate session detection on the server. Second, in NetConnection/AMFChannel, added some logic to disconnect the already connected NetConnection (in response to AppenToGatewayURL being called by the player) and reconnect with the jsessionid added to the url.

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/BLZ-133

      Modified Paths:
      --------------
      flex/sdk/branches/3.0.x/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as
      flex/sdk/branches/3.0.x/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as
      flex/sdk/branches/3.0.x/frameworks/projects/rpc/src/mx/messaging/channels/NetConnectionCh annel.as