Developer-Guide/datastorage/cookie.md
2020-07-11 21:35:41 +02:00

8 lines
335 B
Markdown

# Cookies
## PHP
Only use cookies when absolutely necessary. Most of the time session data or local storage is the preferred choice. The `CookieJar` class provides you with all the necessary functionality similar to the `SessionManager`. The super global `$_COOKIE` is also overwritten and shouldn't be used anywhere.
## JavaScript