This module will be of help: https://marketplace.mendix.com/link/component/115305
Hi Rohit,
There are few related forum questions please take a look if its have any useful info. Its always nice to look at the existing forum stuff before raising a question.
https://forum.mendix.com/link/questions/62032
https://forum.mendix.com/link/questions/95740
https://forum.mendix.com/link/questions/99442
https://forum.mendix.com/link/questions/2577
https://forum.mendix.com/link/questions/95484
https://forum.mendix.com/link/questions/85567
Thank you.
With Mendix you can leverage JavaScript for this type of stuff. You can opt to use the Module René suggests or create your own logic.
Option 1: Use a nanoflow with a custom JavaScript action to set your cookie (for example: using the document,cookie API)
Option 2: Use the HTML/JS widget to run your JavaScript code on a page
Option 3: The Nanoflow Commons module also includes some nice actions that make use of the window.localstorage API