mirror of
https://github.com/Karaka-Management/Developer-Guide.git
synced 2026-01-11 20:38:42 +00:00
602 B
602 B
Sessions
Sessions are handled via the SessionManager. Sessions can be set and manipulated from the web application as well as the socket or console application.
HTTP
The Http session will be saved automatically, there is no need to access the super global $_SESSION. Make sure to only modify session data using the SessionManager
Socket & Console
The session will be stored and associated with the logged in user in memory. A disconnect or quit is considered as a logout and therefore results in the destruction of the session object of this user and will be empty for the next login.