[已解决]如何清除session cookie
本帖最后由 zhaicheng 于 2011-5-18 22:14 编辑$Obj = _IEDocGetObj($oIE)
$Obj.cookie=""
尝试用这个清除session cookie,可是无法清除。另外,也无法赋新值,貌似只读了一样
傲游的cookie editor 插件可以做到 the cookie property is read/write, but it doesn't work the way you are thinking it does.
When you read the cookie property, it returns the full set of name/value pairs for all cookies (and the cookie properties).
When you write to the cookie property, it adds a new name/value pair to the cookie property.
To delete a cookie, you must rewrite the name/value conbination to the cookie property with an expiration in the past.
For example:
$Obj.cookie = $cookie_name &= "=; expires=Thu, 01-Jan-1970 00:00:01 GMT" 研究了半天还是不会
页:
[1]