You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by Wouter Cloetens <wc...@raleigh.ibm.com> on 2000/08/19 19:00:17 UTC
RE: cookies and sessions
On Sat, 19 Aug 2000 17:57:26 -0500, Brent G wrote:
>couldn you alleviate the need for cookies by forcing the http1.1 session to
>stay alive?
I guess you mean a keepalive connection. This is not necessarily HTTP
1.1, nor does an HTTP 1.1 connection always implement keepalive.
The keepalive connection is only between two legs of a connection - it
does not survive a proxy in between. The server can also close the
keepalive connection any time it sees fit. And, last but not least, there is no
state maintained between subsequent requests over a keepalive
connection. It is not exposed to the servlet engine. So no, that doesn't help.
>maybe I am missing something here but cookies sole purspose
>seems to get around the stateless nature of http
Correct.
>where a keep-alive on the
>http connection seems to cure this headache.
No, that's not its design goal... Read the HTTP 1.1 RFC for a clear
understanding.
bfn, Wouter
--
http://www.workspot.net/~zombie/soap/
My opinions are irrelevant. They will be assimilated by my employer.