0 Replies Latest reply on Apr 5, 2007 5:10 PM by FlexierThanThou

    Query parameters with the same name and different values

    FlexierThanThou
      According to HTTP, multiple query or post parameters with the same name and different values are permitted. They are transfered over the wire in the following format -

      name1=val1&name1=val2&name1=val3

      The problem is that I can't see anyway of assigning multiple parameters with the same name and different values to the request object of mx.rpc.http.HTTPService. I have tried using the flash.utils.Dictionary object as it does strict key comparison but that doesn't work too. I have tried setting an array of values to a property of the request object but that sends the request to the server in the following format -

      name1=val1,val2,val3

      The java servlet engines throw exceptions when they see this. Any help would be greatly appreciated.