[eluser]daBayrus[/eluser]
My system was working just fine using CI 2 Beta. Today, I decided to use the official release. The first thing I noticed was that I can log in but after the login redirection I am prompted that I have logged out. I noticed that when using database to store sessions, the userdata is not being saved on the first session but on another newly created session. I can no longer reference the saved userdata because I am now using another session, making me unable to access the redirected controller because of the restriction I placed that only logged users may access the page. After subsequent browser refreshes, there were too many session entries created on the ci_sessions database.
I tried not using the database and instead used cookies. I used var_dump on the $ci->session->userdata and everything seems fine after logging in and the data was set. After the redirect, the var_dump resulted to an empty session userdata. I don't know what's going on.
Thanks for the help.