Welcome Guest, Not a member yet? Register   Sign In
CI session automatically destroy
#1

[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
#2

[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.
#3

[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




Theme © iAndrew 2016 - Forum software by © MyBB