You are here: Re: [PHP] Session problems « PHP « IT news, forums, messages
Re: [PHP] Session problems

Posted by Ahmed Saad on 07/13/05 13:51

On 7/13/05, Richard Lynch <ceo@l-i-e.com> wrote:
> I think you need to call session_name() *BEFORE* session_start() but I
> could be wrong about that...

totally right! in the php manual,

"The session name is reset to the default value stored in session.name
at request startup time. Thus, you need to call session_name() for
every request (and before session_start() or session_register() are
called)."

-ahmed

 

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

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