With Haltura, Cookies API offers you easy ways to manage cookies.
Here are some examples of how the Cookies API is used.
<script>
Cookies.set("example_cookie", 456, {"days" : 1});
console.log(Cookies.get("example_cookie"));
console.log(Cookies.getAll());
</script>
<script>
Cookies.set("example_cookie", 456, {"days" : 1});
console.log(Cookies.get("example_cookie"));
console.log(Cookies.getAll());
</script>
Methods | Definition |
---|---|
Cookies.set(name, value, options = {}) | The value must be entered.. |
Cookies.get(name) | Get cookie by name.. |
Cookies.getAll() | Get all cookies.. |
Cookies.contains(name) | Check if the cookie exists.. |
Cookies.remove(name) | Remove a cookie by name.. |
Haltura wants to provide you with an efficient experience by implementing cookies! Cookies are small files that help us to understand you better and to ensure the proper functioning of our technologies. You have the right to manage them as you wish!
Cookie settings