Welcome Guest, Not a member yet? Register   Sign In
How to retrieve $_SESSION variable out of CI
#2

If you have loaded CI's session class then the global variable $_SESSION will be available and populated with the key/value data that has been placed in the session.

Because CI uses custom drivers you must make the call
PHP Code:
$this->load->library('session'); 
for everything to work correctly.
Reply


Messages In This Thread
RE: How to retrieve $_SESSION variable out of CI - by dave friend - 08-07-2019, 09:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB