![]() |
Session writing to cookie despite config settings - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Session writing to cookie despite config settings (/showthread.php?tid=10851) |
Session writing to cookie despite config settings - El Forum - 08-14-2008 [eluser]dcheslow[/eluser] OK.... I'm stumped. I noticed that one of my forms takes a LONG time to reload if there are more than a couple of errors on the form. I tracked the trouble down to the following: every error is calling session->setcookie(). Once this gets to about half a dozen calls the page load slows way way down (several minutes). I looked at the ci_session cookie and it's huge... full of messages. Here're my config settings: $config['sess_cookie_name'] = 'ci_session'; $config['sess_expiration'] = 7200; $config['sess_encrypt_cookie'] = FALSE; $config['sess_use_database'] = TRUE; $config['sess_table_name'] = 'ci_sessions'; $config['sess_match_ip'] = TRUE; $config['sess_match_useragent'] = TRUE; $config['sess_time_to_update'] = 180; I have a ci_sessions table in my DB which is otherwise working fine. Sessions seem to be being created in the ci_sessions table... but no data seems to get written there. I am sure I am doing something silly... any help appreciated. =dave= |