Developer-Guide/phpOMS/datastorage/cookie.md
2025-04-02 13:33:49 +00:00

8 lines
327 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.
## JS