CodeIgniter Forums
CI session automatically destroy - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forum-22.html)
+--- Thread: CI session automatically destroy (/thread-40799.html)



CI session automatically destroy - El Forum - 04-19-2011

[eluser]Unknown[/eluser]
Hello Everyone.

I am using CI session class. It was working fine but suddenly working very strange. When i logged in on login page, after login page redirect to home page.

I can see the session on home page [I have printed the session variable]. When I click on any other page even the home page again, the session destroy.

Session data exist in database but not in browser session.

Please help

Thanks


CI session automatically destroy - El Forum - 04-19-2011

[eluser]toopay[/eluser]
Give more clear information. And please, use more "technical" languange (posting your code will be the easy way to do that).

I believe no one know what you really..really..mean about 'but suddenly working very strange', ' When i logged in on login page, after login page redirect to home page', 'When I click on any other page even the home page again, the session destroy' and so on.


CI session automatically destroy - El Forum - 04-20-2011

[eluser]Unknown[/eluser]
Thank you so much for your reply. I will use more technical language next time.

The problem is solved.

I was using multilingual text with latin1_general. I changed it to utf_general and it works now Smile

Thanks