[eluser]Vinnie Saletto[/eluser]
So, my current task involves a site where people can sign in, and view a series of training videos on a particular topic. The only trouble is that once I have them log in, and I create a session, that session seems to mysteriously disappear after a few minutes. This is the block of code in my config.php page:
Code:
$config['sess_cookie_name'] = 'cc_session';
$config['sess_expiration'] = 0;
$config['sess_expire_on_close'] = FALSE;
$config['sess_encrypt_cookie'] = FALSE;
$config['sess_use_database'] = TRUE;
$config['sess_table_name'] = 'cc_sessions';
$config['sess_match_ip'] = TRUE;
$config['sess_match_useragent'] = TRUE;
$config['sess_time_to_update'] = 3000000;
Why is sess_time_to_update set so high? At first, I thought that was the culprit, updating the session after 5 minutes. I have set the session to record to a database, and all that good stuff. Please, ask me questions, and help me get to the bottom of this! Thank you!