$CookieStore
✖
$CookieStore
[Experimental]
✖
gives the location at which to store information on persistent cookies to be used by URLRead and related functions.
Details

- The default setting for $CookieStore is None, specifying that no persistent cookie store should be used.
- $CookieStore=Automatic typically sets the cookie to be in the directory .cookies in $UserBaseDirectory.
- Only persistent cookies are saved in the $CookieStore location; session cookies are not.
- Block[{$CookieStore},…] can be used to block the saving of persistent cookies to $CookieStore.
Examples
Basic Examples (2)Summary of the most common use cases
The default $CookieStore:
In[1]:=1

✖
https://wolfram.com/xid/0frc8rtoy2fcr-7aty2z
Out[1]=1

When $CookieStore is set to Automatic, persistent cookies are stored between sessions:
In[1]:=1

✖
https://wolfram.com/xid/0frc8rtoy2fcr-mpayt4
A typical file to store cookies:
In[2]:=2

✖
https://wolfram.com/xid/0frc8rtoy2fcr-utnegq
Out[2]=2

In[3]:=3

✖
https://wolfram.com/xid/0frc8rtoy2fcr-gype3j
Wolfram Research (2016), $CookieStore, Wolfram Language function, https://reference.wolfram.com/language/ref/$CookieStore.html.
✖
Wolfram Research (2016), $CookieStore, Wolfram Language function, https://reference.wolfram.com/language/ref/$CookieStore.html.
Text
Wolfram Research (2016), $CookieStore, Wolfram Language function, https://reference.wolfram.com/language/ref/$CookieStore.html.
✖
Wolfram Research (2016), $CookieStore, Wolfram Language function, https://reference.wolfram.com/language/ref/$CookieStore.html.
CMS
Wolfram Language. 2016. "$CookieStore." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$CookieStore.html.
✖
Wolfram Language. 2016. "$CookieStore." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$CookieStore.html.
APA
Wolfram Language. (2016). $CookieStore. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$CookieStore.html
✖
Wolfram Language. (2016). $CookieStore. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$CookieStore.html
BibTeX
✖
@misc{reference.wolfram_2025_$cookiestore, author="Wolfram Research", title="{$CookieStore}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/$CookieStore.html}", note=[Accessed: 19-May-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_$cookiestore, organization={Wolfram Research}, title={$CookieStore}, year={2016}, url={https://reference.wolfram.com/language/ref/$CookieStore.html}, note=[Accessed: 19-May-2025
]}