<?php
session_start();
session_destroy();
if(isset($_COOKIE['cookemail_id']) && isset($_COOKIE['cookpassword']))
{
setcookie("cookemail_id", "", time()-60*60*24*100, "/");
setcookie("cookpassword", "", time()-60*60*24*100, "/");
setcookie("cooktype", "", time()-60*60*24*100, "/");
}
?>
以上是我的注销代码。但是会话变量没有被删除。