CodeIgniter is one of my favorite PHP MVC frameworks, it gives you the option to scale fast. Having a wide range of database drivers to choose from including postgres is a great option for me. I prefer PostgreSQL over MySQL for large projects where you have to insert 300k+ records daily or more. Of course you have to do some tweaks to your basic configuration of the PostgreSQL server to keep up with big data, but we might discuss this in a future post.
CodeIgniter offers a Sessions library to manage sessions your way instead of sticking to PHP server sessions variable $_SESSION. You can read more about it in the CodeIgniter User Guide V2.1.4: Session class.
It also gives you an option to save Session data into database, and it provides the database structure for MySQL, unfortunately this will not work with Postgres, so I created a Postgres version
1 2 3 4 5 6 7 8 9 10 |
|
Saving the Session data into a database is more secure than cookies, and it gives you more options and functions, for example something like who is online and tracking active sessions.
Thanks, feel free to comment or suggest.