Developer-Guide/datastorage/cookie.md
2022-02-19 13:57:38 +01:00

8 lines
335 B
Markdown
Executable File

# 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