New Session on every page load CI3.1.10 PHP7.2 |
So this is a curious one, and I am somewhat confused.
I updated from CI 3.0.4 to CI 3.1.10, and from PHP 5.6 to 7.2. I am running PHP through IIS fast CSG. I have two local domains registered in my host file: app.local, test.app.local. app.local is my Development instance, test.app.local is my local testing instance which i use before deploying to live testing. After upgrading, a couple of things broke, which was to be expected. but i got them all sorted out on my Dev instance, and everything worked fine. I then deployed to my local test site. And what i found was that on every request to the server, a new session was being created. PHP Code: $config['sess_driver'] = 'database'; The only change in any configuration is the database credentials, and schema. I then changed my dev environment to use the same PHP settings and configuration as the test environment, and everything continues to work. I am hoping some people might have some insight on this?? |
Messages In This Thread |
New Session on every page load CI3.1.10 PHP7.2 - by simpleusername - 03-10-2019, 10:17 PM
RE: New Session on every page load CI3.1.10 PHP7.2 - by simpleusername - 03-10-2019, 11:03 PM
RE: New Session on every page load CI3.1.10 PHP7.2 - by nurahman11 - 03-23-2019, 10:44 AM
|