We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4632602 + f1db96b commit 01dac95Copy full SHA for 01dac95
1 file changed
user_guide_src/source/libraries/sessions.rst
@@ -369,7 +369,7 @@ necessary with our new implementation. However, it may happen that your
369
application relied on these values, so here are alternative methods of
370
accessing them:
371
372
- - session_id: ``session_id()``
+ - session_id: ``$session->session_id`` or ``session_id()`` (PHP’s built-in function)
373
- ip_address: ``$_SERVER['REMOTE_ADDR']``
374
- user_agent: ``$_SERVER['HTTP_USER_AGENT']`` (unused by sessions)
375
- last_activity: Depends on the storage, no straightforward way. Sorry!
0 commit comments