How to access standard PHP session data from inside CodeIgniter

Kayos

New Member
I've got a Codeigniter project I'm working on, and using the CI Sessions (stored in a DB), but I need to check for a variable in another $_SESSION from another application (in the same cookie domain), but when I try, from the CI controller to use native PHP sessions to get this one bit of info ($_SESSION['blah']), it looks like CI is stripping out that global $_SESSION data. Anyone know a way I can get at it? I'd like to basically do something like this (with a little more error checking of course):\[code\]if (isset($_SESSION['user_id'])){ $this->session->set_userdata('usermap', $_SESSION['user_id']);}\[/code\]any help would be appreciated.
 
Back
Top