Skip to content

Commit ddccdcb

Browse files
committed
docs: add note for Session::get()
1 parent 3711b49 commit ddccdcb

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)