Posted by Jerry Stuckle on 04/26/07 11:32
Man-wai Chang wrote:
>> No article I know of. But you will get two different session id's.
>> You'll also get two session id's if the user uses two different
>> browsers (i.e. IE and Firefox) from the same computer.
>
> Thanks. Guess I have to read the source codes of PHP to find it out then
> ... :)
>
It has nothing to do with the source code for PHP. It's how browsers work.
The browser keeps track of the session id, generally in a cookie (if
cookies aren't supported PHP uses the GET parameters). Two different
computers cannot share the same cookie - and therefore the same session id.
It has nothing to do with ip addresses at all (which are not unique and
may change at any time).
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|