Reply to Re: How PHP Session ID is proved to be unique?

Your name:

Reply:


Posted by howa on 06/23/07 16:09

On 6 23 , 11 35 , "David T. Ashley" <d...@e3ft.com> wrote:
> The particular approach I use to ensure uniqueness is to concatenate time,
> microtime, and PID, and then to spinlock until the microtime changes. This
> works because no two processes can have the same PID at the same time.

yes, your method seem more reliable than PHP implementation...
but will it work on multi-thread web server, e.g. apache2?

[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

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