FindCookies
✖
FindCookies
gives a list of cookies whose attributes match the specification in the association assoc.
Details

- FindCookies[] is equivalent to $Cookies.
- FindCookies returns a list of associations representing the cookies it has found.
- In FindCookies[domain], domain can be either a string or a string pattern of the type used in FileNames.
- FindCookies[domain] is equivalent to FindCookies[<"Domain"->domain >].
- In FindCookies[assoc], the association can contain entries with any of the following keys, with the same possible values as in $Cookies:
-
"Domain" domain for the cookie "Path" path restriction within the domain "Name" name of the cookie "Content" content of the cookie "ExpirationDate" when the cookie is set to expire "CreationDate" when the cookie was created "AllowSubdomains" whether to send cookies to subdomains (HostOnly) "ConnectionType" for what connection type the cookie should be sent (Secure) "ScriptAccessible" whether cookie is accessible from JavaScript etc. (HttpOnly)
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Cookies are received and set when URL commands are executed:

https://wolfram.com/xid/0b0kmgfxbkk-vjnrh7

https://wolfram.com/xid/0b0kmgfxbkk-7oewo6


https://wolfram.com/xid/0b0kmgfxbkk-0v49o1

Find cookies with a specified name:

https://wolfram.com/xid/0b0kmgfxbkk-hxvfc3

Find cookies with an expiration date of Automatic:

https://wolfram.com/xid/0b0kmgfxbkk-jy2d5r

Find cookies with explicit expiration dates:

https://wolfram.com/xid/0b0kmgfxbkk-1r00jp

Properties & Relations (1)Properties of the function, and connections to other functions
FindCookies[] returns all cookies present in $Cookies:

https://wolfram.com/xid/0b0kmgfxbkk-vj0ler


https://wolfram.com/xid/0b0kmgfxbkk-69jrxo

Wolfram Research (2016), FindCookies, Wolfram Language function, https://reference.wolfram.com/language/ref/FindCookies.html.
Text
Wolfram Research (2016), FindCookies, Wolfram Language function, https://reference.wolfram.com/language/ref/FindCookies.html.
Wolfram Research (2016), FindCookies, Wolfram Language function, https://reference.wolfram.com/language/ref/FindCookies.html.
CMS
Wolfram Language. 2016. "FindCookies." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FindCookies.html.
Wolfram Language. 2016. "FindCookies." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FindCookies.html.
APA
Wolfram Language. (2016). FindCookies. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FindCookies.html
Wolfram Language. (2016). FindCookies. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FindCookies.html
BibTeX
@misc{reference.wolfram_2025_findcookies, author="Wolfram Research", title="{FindCookies}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/FindCookies.html}", note=[Accessed: 09-July-2025
]}
BibLaTeX
@online{reference.wolfram_2025_findcookies, organization={Wolfram Research}, title={FindCookies}, year={2016}, url={https://reference.wolfram.com/language/ref/FindCookies.html}, note=[Accessed: 09-July-2025
]}