[eluser]xwero[/eluser]
I'm wondering if it makes sense if the userdata method had a second argument like the uri segment method where the second argument sets the default value.
Code:
$this->session->userdata('username','');
In the session class the userdata method should be changed to
[eluser]Rick Jolly[/eluser]
Glad you found a solution.
Just a note for future reference though, you can extend controllers. The thread you referenced had a misleading title since it dealt with controllers in subfolders, not extending controllers.