Problems with bad SESSION mojo |
[eluser]steveHS[/eluser]
My site at http://rcta.rp-network.com/ is large with over 60-views. Each view has it's own controller with the same name as the view. Each controller calls a large helper file (approx 6000 lines of code with 100 functions). All works very well except for session variables. The only one I'm interested in persisting is session_id. I've tried both DB and not the DB methods and I can see that each page navigation is indeed a new session. My development utilizes CODA but testing on both FireFox and CODA yields the same result. The problem is every time the user switches pages, a new session-id is generated and the original one is lost. Here are the config.php parameters: $config['sess_cookie_name'] = 'ci_session'; $config['sess_expiration'] = 7200; $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'] = 7200; $config['cookie_prefix'] = ""; $config['cookie_domain'] = ""; $config['cookie_path'] = "/"; Is there some magic bullet that I'm missing here as this is my first, and maybe only, CodeIgniter project. I'm desperate, please help and thanks. |
Messages In This Thread |
Problems with bad SESSION mojo - by El Forum - 03-28-2009, 11:00 AM
Problems with bad SESSION mojo - by El Forum - 03-28-2009, 11:07 AM
Problems with bad SESSION mojo - by El Forum - 03-28-2009, 11:33 AM
Problems with bad SESSION mojo - by El Forum - 03-28-2009, 12:54 PM
Problems with bad SESSION mojo - by El Forum - 03-28-2009, 01:51 PM
|