|
Posted by Peter Brodersen on 10/02/11 11:33
On Fri, 2 Dec 2005 20:43:48 -0500, in php.general mba2000@ioplex.com
(Michael B Allen) wrote:
>Why do sessions use cookies? Isn't a session just a container associated
>with the user's socket?
No. Even though mechanisms such as keepalive exists they are not
reliable for tracking a user. A client can still open multiple HTTP
connections to the same host even when using keepalive.
Furthermore we would like the session to survive the smallest hickups
(e.g. disconnects, TCP RSTs, ...).
--
- Peter Brodersen
Navigation:
[Reply to this message]
|