This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Cookies in LogicMachine app

I read the following paragraph in the documentation for creating LogicMachine apps:

[Image: cookies-documentation.png]

However, in my JavaScript code, the object "Cookie" is unknown:

[Image: Cookie-not-defined.png]

so, in JavaScript, how do access this "Cookie global object" referenced in the documentation?
You need to load the libraries before using Cookie functions:
<script src="/apps/js/jquery.js.gz"></script>
<script src="/apps/js/apps.js.gz"></script>

Alternatively you can use localStorage:

Forum Jump: