You are here: Re: Format of session id and $_SERVER['REMOTE_ADDR'] « All PHP « IT news, forums, messages
Re: Format of session id and $_SERVER['REMOTE_ADDR']

Posted by Markus on 02/07/07 14:39

Jerry Stuckle schrieb:
>> So as I use it only for temporary data, such as shopping cart orders
>> or administrator activities, I assume it is a good idea to work with
>> substr(session_id(), 0, 32);
>>
>
> Why even worry about the session id? Just let PHP handle it. You don't
> want to store the session id in a database - the data will be gone soon,
> anyway. Then you're left with a session id in the database but no
> session to go with it.

Ooops... this is indeed a remainer from the times when I handled
sessions manually. Thanks for pointing this out!

Markus

 

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

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