Reply to Re: uniqueness of session

Your name:

Reply:


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
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация