Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion user_guide_src/source/libraries/sessions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ necessary with our new implementation. However, it may happen that your
application relied on these values, so here are alternative methods of
accessing them:

- session_id: ``session_id()``
- session_id: ``$session->session_id`` or ``session_id()`` (PHP’s built-in function)
- ip_address: ``$_SERVER['REMOTE_ADDR']``
- user_agent: ``$_SERVER['HTTP_USER_AGENT']`` (unused by sessions)
- last_activity: Depends on the storage, no straightforward way. Sorry!
Expand Down