Cytat
Spróbuj usunąć $_SESSION za pomocą unset()
A zerkałeś do manuala, co piszą na ten temat? Tak się NIE ROBI.
<?php
?>
Cytat
To jest mój kod wylogowywania, dlaczego mimo wszystko w przeglądarcer zostaje PHPSESSID?
session_set_cookie_params" title="Zobacz w manualu PHP" target="_manual i ustaw tam czas, ale to chyba nie przejdzie. Lepiej:
<?php
?>
PS:
Cytat
Cookies must be deleted with the same parameters as they were set with. If the value argument is an empty string, or FALSE, and all other arguments match a previous call to setcookie, then the cookie with the specified name will be deleted from the remote client.