回复:(hmhz)Cookies代码是通用的,但Cookies名字要...
Function CleanCookies()
DomainPath=Left(Request.ServerVariables("script_name"),inStrRev(Request.ServerVariables("script_name"),"/"))
For Each objCookie In Request.Cookies
Response.Cookies("cooldrag")= ""
Response.Cookies("cooldrag").Path = DomainPath
Response.Cookies("cooldrag1")= ""
Response.Cookies("cooldrag1").Path = DomainPath
Next
End Function
CleanCookies()
cooldrag 和 cooldrag1是cookie的名称 有两个cookie 的 按上面写的行吗? 如果不行是哪的问题?我这样写的可是没清了啊