$CookieStore

$CookieStore

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)

The default $CookieStore:

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

A typical file to store cookies:

Restore the default value:

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.

CMS

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

BibTeX

@misc{reference.wolfram_2024_$cookiestore, author="Wolfram Research", title="{$CookieStore}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/$CookieStore.html}", note=[Accessed: 05-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$cookiestore, organization={Wolfram Research}, title={$CookieStore}, year={2016}, url={https://reference.wolfram.com/language/ref/$CookieStore.html}, note=[Accessed: 05-November-2024 ]}