I've been using CI for a while now and recently upgraded to CI 3. I noticed the Session library has now been moved to a folder. I used to have my own MY_Session.php file in the application/libraries folder that extended the default CI library.
I also use the autoload.php file to autoload my session library. This no longer works, as I get Unable to load the requested class: Session.
If I remove MY_Session.php file, then the pages load, but then I'll be missing my extended functionality.
Does anyone know how exactly to extend the session library in CI 3?
For the sake of completeness since 3.0 has long been released: if you want to extend the Session class, you need to add your extended class MY_Session.php to the application/libraries/Session directory to mimic its system/libraries/Session/Session.php counterpart.
After you have the correct directory structure, your MY_Session.php file should contain the usual way to extend system library classes, as @Starx has noted.