如何刪除客户端的Cookies?
(编辑:jimmy 日期: 2024/11/7 浏览:3 次 )
<%@ Language=VBScript %>
<%
Option Explicit
response.buffer=true
Dim objCookie
Response.Write "春风精彩之不可告人删除CookieS<BR>"
For Each objCookie In Request.Cookies
Response.Cookies(objCookie).Expires = "1,1,2001"
' 设置时间删除.
Next
Response.Write "恭喜,删除成功!"
%>
下一篇:如何提示用户打开Cookie?