CodeIgniter Forums
session - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: session (/showthread.php?tid=40818)



session - El Forum - 04-19-2011

[eluser]paparts[/eluser]
I have tried searching on the net and I haven't found an answer yet. I am having problems with using ci's session library. It works fine with firefox but not in chrome. I am using CI version 2.02 and the latest version of chrome. I am using PHP 5.2.10 and I am not storing sessions on the database.

I have already tried clearing my cache and browsing history and still nothing works. I have also tried using other browsers such as safari and IE and its not working. I have tried to toggle the config to true and false but still nothing works
Code:
$config['sess_match_useragent'] = TRUE;



session - El Forum - 04-19-2011

[eluser]InsiteFX[/eluser]
Check your cookie settings in the browsers. And make sure you are loading the Session Library!

Also it is more secure to use the session database!

InsiteFX


session - El Forum - 04-19-2011

[eluser]paparts[/eluser]
It's a server date problem. Thanks for the reply. [SOLVED]


session - El Forum - 04-19-2011

[eluser]InsiteFX[/eluser]
Your Welcome!

I always add this at the top of my index.php
Code:
date_default_timezone_set('your_country/your_city');

InsiteFX


session - El Forum - 04-20-2011

[eluser]Nur Cholikul Anwar[/eluser]
Thank's for your answer and solution :-)