Are you sure the session is destroyed? I think that it just does not update as intended, and creates a new request for each page. (general problem with installing Codeigniter)
here are my suggestions:
double check the Application / Config / config.php file to make sure that part of the session domain looks like this if you host the site in the main directory:
$config['cookie_prefix'] = ""; $config['cookie_domain'] = "yourdomain.com"; $config['cookie_path'] = "var/sessions/"; $config['cookie_secure'] = FALSE;
and the like, if you host the site in a subdirectory:
$config['cookie_prefix'] = ""; $config['cookie_domain'] = "yourdomain.com"; $config['cookie_path'] = "siteSubDirectory/var/sessions/"; $config['cookie_secure'] = FALSE;
and make sure that 2 directories are writable by setting their permissions to 755 or so, and I highly recommend that you enable a database session that is more secure and helps you find the real problem by checking the session table. good luck :)
source share