per il logout usa

Codice PHP:
setcookie("user_ses"""0$cookie_path$cookie_host);
session_destroy();