I have come across something interesting.
When I first go into the site typing http://www.example.com I have a particular session ID assigned.
When I reload current page via browser reload/refresh button, that session ID changes and all session info is lost.
Upon subsequent refreshes and browsing the session id is maintained. It seems that only upon the first refresh is the session id reset and all session info is lost.
I dont have any session->destroy() code so why is the session not being maintained from the first page load?
Configs:
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_expire_on_close'] = FALSE;
$config['sess_encrypt_cookie'] = FALSE;
$config['sess_use_database'] = TRUE;
$config['sess_table_name'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent'] = TRUE;
$config['sess_time_to_update'] = 3600;