Welcome Guest, Not a member yet? Register   Sign In
PHP - Session problem in codeigniter framework
#8

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
Which could not have ever worked.

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.
Reply


Messages In This Thread
RE: PHP - Session problem in codeigniter framework - by PaulD - 10-13-2017, 06:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB