I am putting the following in the config file:
$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'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent'] = FALSE;
$config['sess_time_to_update'] = 86400;
I am using the codeigniter framework.
In login page, I am storing the username in session, after login the session username is loading, once I refresh the page the name has gone.
What might be the problem? I extended the session expiry and everything but it is not working.