Codeigniter session issue |
[eluser]Reneesh T K[/eluser]
http://myphplibrary.blogspot.in/2012/03/...ation.html I have a codeigniter site with a shopping cart and it is using database to store session values. But the session is going out when I add hundreds of products in it. I have spent two days checking about it and finally find out the issue in it. It was failing to unserialize the session data stored in the ci_sessions table in the field 'user_data'. After checking sometime I found that the field(user_data) is failing to store all serialized data in it. So when unserializing it is failing. So I have changed the field type of 'user_data' from 'text' to 'longtext' and now it is able to store more data and my problem fixed. Now the session is not breaking. |
Messages In This Thread |
Codeigniter session issue - by El Forum - 02-26-2012, 06:03 PM
Codeigniter session issue - by El Forum - 02-26-2012, 07:40 PM
Codeigniter session issue - by El Forum - 03-08-2012, 01:43 AM
Codeigniter session issue - by El Forum - 03-08-2012, 06:30 AM
|