You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good catch. It turns out that when retrieving either flashdata or tempdata with a key in the the get() method, it WILL return it since it's just pulling the value directly from $_SESSION. However, if you're using get() to retrieve ALL userdata from the session, it won't include them. A little confusing, but I've clarified the docs on this point.
on the document:
https://github.com/bcit-ci/CodeIgniter4/blob/develop/user_guide_src/source/libraries/sessions.rst
and
on the source code:
https://github.com/bcit-ci/CodeIgniter4/blob/develop/system/Session/Session.php#L432
There are any wrong. Perhaps, the first.
The text was updated successfully, but these errors were encountered: