CodeIgniter with Zebra Session

Install

https://github.com/stefangabos/Zebra_Session

index.php

Do not use session_start();

Note: Put $session in $GLOBALS is very important or this variable wont’ be accessible in controllers and data in session will be lost after redirection and won’t be saved in database.