Welcome Guest, Not a member yet? Register   Sign In
Issue with sessions on v3.1.10 and PHP 7.2
#1

I've migrated a bunch of projects to a new server and i'm running into issues with sessions not functioning properly. The same projects on the old server work just fine.

Projects are all using CI v3.1.10 and are using database sessions

The old server the projects were running on was using
  • Apache
  • PHP 5.5.9
  • Ubuntu Server 16.04
The new server is running
  • Apache
  • PHP 7.2
  • Ubuntu Server 18.04
If it makes any difference the new server is a container running on proxmox.5.3

I can see every time i reload the page on one of these projects that new sessions are being created in the database for each page load. When i output the cookies using console.log(document.cookie) i cannot see the session cookie being set which is what i assume is causing a new session to be created on every page load.

I have also tried both http and https to see if theres any difference and the results are the same using either. There's also no information in error logs relating to the sessions either.
Reply


Messages In This Thread
Issue with sessions on v3.1.10 and PHP 7.2 - by reactionstudio - 02-23-2019, 03:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB