Cookies and Macros

lawrence whittemore asked on September 15, 2017 14:31

Is there a way to access cookie info via a macro?

Correct Answer

Anton Grekhovodov answered on September 15, 2017 14:54

Hi, try this: {% Cookies["CookieName"] |(identity)GlobalAdministrator%}. Documentation is here

1 votesVote for this answer Unmark Correct answer

Recent Answers


Yoyo Bubble answered on February 5, 2018 21:03 (last edited on December 10, 2019 02:31)

Wow, great macro! Do you know if there is any way to filter specific cookies by their domain. I ask because I have cookies with the same name, but not the same domain. something like

Code{%Cookies["cookiename"].domain["website.com"]|(identity)GlobalAdministrator%}
0 votesVote for this answer Mark as a Correct answer

Anton Grekhovodov answered on February 6, 2018 07:45

Hi Yoyo,
It's not possible to read cookies for different domain. It's security restrictions.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.