查看文件: re_sess.php
大小: 550 字节
类型: application/octet-stream
<? session_start(); $session_id = session_id(); echo $session_id.'<br>'; session_unset(); // Remove the $_SESSION variable information. session_destroy(); // Remove the server-side session information. // Unset the cookie on the client-side. setcookie("PHPSESSID", "", 1); // Force the cookie to expire. // Start a new session session_start(); // Generate a new session ID session_regenerate_id(true); // Then finally, make sure you pick up the new session ID $session_id = session_id(); echo $session_id.'<br>'; ?>
保存
取消
返回文件列表