PHP - Session problem in codeigniter framework |
Have you followed all these details:
https://www.codeigniter.com/user_guide/l...les-driver The path needs to be an absolute path. The permissions need to be high enough for access, 0700 is recommended, but there is also a note in the instructions about www-data access. Quote:It was working fine few days ago but suddenly it has started causing this frustrating problem. I would write a test page that did not redirect on session fail. Then at least you can use the profiler to look at what is in the session variables. Compare it to the page where you say the session is set. There might also be a problem in the code you are using to test the session status. You originally quoted PHP Code: $config['sess_save_path'] = NULL; Also it is worth upgrading your system files to 3.1.6, there have been many bug fixes and improvements since 3.0, you are about 12 versions behind, including fixes for sessions, although I do not really think your issue is caused by any of these, it might be. If you are using an auth library of any description, perhaps there are some settings you have not updated in the auth package. Hope something here helps, Paul. |
Messages In This Thread |
PHP - Session problem in codeigniter framework - by Khadeer - 10-12-2017, 06:30 AM
RE: PHP - Session problem in codeigniter framework - by dave friend - 10-12-2017, 10:18 AM
RE: PHP - Session problem in codeigniter framework - by Khadeer - 10-12-2017, 11:54 PM
RE: PHP - Session problem in codeigniter framework - by InsiteFX - 10-13-2017, 03:08 AM
RE: PHP - Session problem in codeigniter framework - by Khadeer - 10-13-2017, 06:23 AM
RE: PHP - Session problem in codeigniter framework - by bjs17 - 10-13-2017, 06:44 AM
RE: PHP - Session problem in codeigniter framework - by Narf - 10-13-2017, 07:15 AM
RE: PHP - Session problem in codeigniter framework - by bjs17 - 10-13-2017, 06:39 AM
RE: PHP - Session problem in codeigniter framework - by PaulD - 10-13-2017, 06:46 AM
RE: PHP - Session problem in codeigniter framework - by Khadeer - 10-14-2017, 12:38 AM
|