W3C home > Mailing lists > Public > public-browser-tools-testing@w3.org > July to September 2016

Re: Session ID in responses

From: James Graham <james@hoppipolla.co.uk>
Date: Mon, 26 Sep 2016 21:48:43 +0100
To: public-browser-tools-testing@w3.org
Message-ID: <b6f19a10-8023-31e4-b05c-10e51c7525b0@hoppipolla.co.uk>
On 26/09/16 21:35, Simon Stewart wrote:
> Hi,
>
> The original JSON wire protocol used by selenium webdriver included the
> session id in every response. I think we should do the same thing in the
> W3C webdriver protocol.
>
> The advantage this offers is that it means that there's no need for an
> intermediary node to pair up requests and responses, instead just
> keeping track of the various sessions being run (opening up some nice
> queue-based possible implementations that would otherwise need
> additional book-keeping). From an end-node point of view, the session ID
> is known anyway[1], so adding this to each response shouldn't be onerous.
>
> Thoughts?

I thought we decided not to do this (although of course I can't find the 
record of it at the moment). Responding with something that must be 
known at request time and is indeed part of the request URL seems like 
pointless extra traffic for very little advantage. If this means that 
some intermediaries need to store a mapping between request url and some 
handle to get the response, I feel I can live with that.
Received on Monday, 26 September 2016 20:49:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:09:54 UTC