How to prolong user session? It always logged out automatically and need to login again.
Thanks!
You can edit in ./application/config/config.php
here is my configuration to avoid session time out and session time out after make a sale
$config['sess_cookie_name'] = 'ci_session'; $config['sess_expiration'] = 0; $config['sess_expire_on_close'] = FALSE; $config['sess_encrypt_cookie'] = FALSE; $config['sess_use_database'] = FALSE; $config['sess_table_name'] = 'ospos_sessions'; $config['sess_match_ip'] = FALSE; $config['sess_match_useragent'] = FAlSE; $config['sess_time_to_update'] = 0;
hope it helps
You can edit in ./application/config/config.php
here is my configuration to avoid session time out and session time out after make a sale
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 0;
$config['sess_expire_on_close'] = FALSE;
$config['sess_encrypt_cookie'] = FALSE;
$config['sess_use_database'] = FALSE;
$config['sess_table_name'] = 'ospos_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent'] = FAlSE;
$config['sess_time_to_update'] = 0;
hope it helps