----客户端删除cookie
<script type="text/javascript">
function DelCookie() {
var name = "user";
var exp = new Date();
exp.setTime(exp.getTime() - 1);
document.cookie = name += "=;expires=" + exp.toGMTString();
location.href = "Login.aspx";
}
</script>
时间: 2024-10-29 22:17:55