You are here: Re: How PHP Session ID is proved to be unique? « PHP Programming Language « IT news, forums, messages
Re: How PHP Session ID is proved to be unique?

Posted by howa on 06/24/07 16:49

> There are no absolutes in computers. All there are are probabilities.
>
> You just have to lower the probabilities enough so that they aren't a
> problem.
>
> For a website with 37^31 possibilities, I would think anything 1B
> hits/sec. should be sufficient.

I think keep track of session Id current assigned would be a safe
solution (e.g. write the Id into the DB, with proper locking or unique
constraints, collision won't occur)

 

Navigation:

[Reply to this 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

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