[eluser]WanWizard[/eluser]
Be careful when you implement it, as it has sess_write() disabled by default.
By default, CI does an update of the session record very time you use set_userdata(). Which I find unnecessary, it adds dozens of extra queries to a the processing of a URI request.
All ExiteCMS requests are routed through the same controller, at the end I call 'sess_write(TRUE)' to write the session. I also added this to my redirect helper, as CI assumes the session updates are already written when you redirect.
If you want the default CI behaviour back, change the sess_write() method definition to read:
Code:
function sess_write( $write = TRUE)