Re: Why do Sessions use Cookies?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2 Dec 2005 20:43:48 -0500, in php.general mba2000@xxxxxxxxxx
(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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux