Can I use cookie in Mendix?

0
Can we use cookie in Mendix. If we can please tell me the way. And if we cant if there is any way to store data to the client and use it in other request.
asked
3 answers
2

This module will be of help: https://marketplace.mendix.com/link/component/115305

answered
1

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.

 

answered
0

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

answered