ClearCookies

ClearCookies[domain]

clears all persistent and session cookies associated with the specified domain.

ClearCookies[assoc]

clears all cookies whose attributes match the specification in the association assoc.

ClearCookies[All]

clears all persistent and session cookies for all domains.

Details

Examples

open allclose all

Basic Examples  (1)

Cookies are received and set when URL commands are executed:

In[1]:=
Click for copyable input

There are cookies from more than one domain:

In[2]:=
Click for copyable input
Out[2]=

Clear cookies from the wolframcloud domain:

In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

Clear cookies matching specified attributes:

In[5]:=
Click for copyable input
Out[5]=

Properties & Relations  (1)

See Also

SetCookies  FindCookies  $Cookies  $CookieStore

Introduced in 2016
(11.0)