Skip to content

Commit 89dd01b

Browse files
authored
Merge pull request #6028 from kenjis/fix-docs-sessions.rst
docs: add note for Session::get()
2 parents 0e6a8dc + ddccdcb commit 89dd01b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

user_guide_src/source/libraries/sessions.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ omit the item key (magic getter only works for single property values):
143143

144144
.. literalinclude:: sessions/009.php
145145

146+
.. important:: The ``get()`` method WILL return flashdata or tempdata items when
147+
retrieving a single item by key. It will not return flashdata or tempdata when
148+
grabbing all userdata from the session, however.
149+
146150
Adding Session Data
147151
===================
148152

0 commit comments

Comments
 (0)