Welcome Guest, Not a member yet? Register   Sign In
CI v1.5.4 Session question
#4

(This post was last modified: 12-18-2018, 12:28 PM by dave friend.)

To the best of my knowledge the PHP superglobal $_SESSION was not used until CI version 3.+. Prior to that, all session data was stored in the session cookie. That was the case for v2.x.x of CodeIgniter and I assume that was also the case for v1.x.x.

One thing you can try. Back in the early Session class the session data was held in a public property named "userdata". It was quite literally an associative array structured exactly the same way as PHP's  $_SESSION. So you should be able to
PHP Code:
var_dump($this->session->userdata); 
at the point where you expect all the pieces you need to be in place and see what the variables in play actually are.
Reply


Messages In This Thread
CI v1.5.4 Session question - by Freja - 12-18-2018, 08:34 AM
RE: CI v1.5.4 Session question - by ciadmin - 12-18-2018, 09:07 AM
RE: CI v1.5.4 Session question - by InsiteFX - 12-18-2018, 09:45 AM
RE: CI v1.5.4 Session question - by dave friend - 12-18-2018, 12:25 PM
RE: CI v1.5.4 Session question - by Freja - 12-19-2018, 06:48 AM
RE: CI v1.5.4 Session question - by salain - 12-19-2018, 08:05 AM
RE: CI v1.5.4 Session question - by Freja - 12-19-2018, 09:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB