Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)


gives the location at which to store information on persistent cookies to be used by URLRead and related functions.


  • 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.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

The default $CookieStore:

Click for copyable input

When $CookieStore is set to Automatic, persistent cookies are stored between sessions:

Click for copyable input

A typical file to store cookies:

Click for copyable input

Restore the default value:

Click for copyable input
Introduced in 2016