<?php echo "string"; session_start(); $_SESSION['s'] = 123; var_dump($_SESSION); echo "<hr>"; var_dump($_COOKIE);
然后 :
<?php echo "string2"; session_start(); session_unset(); session_destroy(); setcookie("PHPSESSID", "", 0); var_dump($_COOKIE);
然而干不掉~