[eluser]jedd[/eluser]
Hi vmuser, and welcome to the CI forums.
If you're using the session library - and loading it automatically in your
config/autoload.php file - then you don't need to do the CI =& get_instance() thing. You only need to do that if you're wanting to talk to the super-object from outside a controller. Such as, for example, in a helper.
So, if you are trying to get session data from two different controllers, as you suggest, then it should
just work. There's no obligation to store any of this data in a database, if you don't want to.
Try setting some data with a call like this:
Code:
$this->session->set_userdata('bob', 'says hello');
And recovering it in a different controller:
Code:
echo $this->session->userdata('bob');