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

Reply via email to