[eluser]Sergiu D[/eluser]
Hello there...
I've opened this new topic, to ask a question about CodeIgniter session. I have this case, when I am using the session ID to perform checking for a shop webpage. Based on session ID and IP address I check if there is any items in the basket, and so on.
Now, the problem occurs when the user session expire, exactly after 5 seconds, no matter what I do. Even if I am idle or not on that page, it will still expire.
My configuration looks like this:
Code:
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_encrypt_cookie'] = TRUE;
$config['sess_use_database'] = FALSE;
$config['sess_table_name'] = 'ci_sessions';
$config['sess_match_ip'] = TRUE;
$config['sess_match_useragent'] = TRUE;
$config['sess_time_to_update'] = 300;
So, given that, I aspect all the sessions to expire olny after two hours. I am not doing any flush, anywhere.
Is this something related to php.ini configuration, or is related to CI? Can somebody point me where to look? Thanks...
PS: I am using Google Chrome, but this behavior persist to IE8, Safari, Opera, Firefox.