Re: Session problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/13/05, Richard Lynch <ceo@xxxxxxxxx> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux