W3C home > Mailing lists > Public > www-tag@w3.org > January 2003

Re: Temporally extended sessions

From: Paul Prescod <paul@prescod.net>
Date: Thu, 30 Jan 2003 14:14:08 -0800
Message-ID: <3E39A3B0.40208@prescod.net>
To: Tim Bray <tbray@textuality.com>
CC: www-tag@w3.org

Tim Bray wrote:
> ...
> 
> 
> Indeed, I regularly access my bank account through a web browser, with 
> all sorts of session semantics - get account balances, pay bills, 
> transfer funds, etc...  At one level I'm horrified by the kludginess of 
> the techniques the server uses to fake session context, but hey, it 
> beats standing in line in front of a teller. -Tim

And in a context where the client is smarter than a web browser, there 
is no need for kludginess at all. The session is a resource, just as it 
is surely an object in the client and server code. It has a URI, just as 
it surely has an address in the client and server code. It has a 
representation, just as, etc. etc.

This strikes me as not just elegant but extremely functional. Consider 
on the one hand telnet and FTP. Sessions in these protocols do not have 
context-independent names and state retrieval protocols so it is 
impossible to start a session on one client machine and migrate it to 
another. Conversely, you can use the "screen" program to make sessions 
first-class addressable objects with downloadable state. That makes it 
possible to move the session between client machines. The only reason I 
could imagine to prefer the former design is to avoid doing the little 
bit of extra work required to make the session addressable. 
(statelessness is of course another issue, screen is stateful!)

  Paul Prescod
Received on Thursday, 30 January 2003 17:14:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:15 GMT