Re: session

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

 



João Cândido de Souza Neto wrote:

> Hi everyone.
> 
> I hope someone here can help me.
> 
> When i start a session in a php page, this session receives an unique id.
> 
> If you think about this, if i call a session_destroy() in any page and in
> the other paga call a session_start() again, it'll receive other unique
> id. But it isn't working. Everything above has been executed but the
> session id's always the same.
> 
> It can be any config var in php.ini?
> 
> Thanks for tips.
> 

I found a solution myself.

session_regenerate_id()

Thanks for all.

-- 
---------------------------------------------------
João Cândido de Souza Neto
Web Developer

-- 
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