Problem reading and writing sessions

Member | 11


Trying to get sessions to read and write and its not working, I have a flash message that is trying to write to the session.

Tracy is showing the error as:


Failed to read session data: files (path: /var/www/temp/sessions)

When I look at this directory, its permissions is set to 777 and the session file is being written, but its not writing any data to it.

session.cookie_path is set to /
session.cookie_samesite = Lax
session.save_path /var/www/temp/sessions
session.use_cookies 1
session.use_only_cookies 1
session.use_strict_mode 1

the file written has the permissions:

  • rw-rw-rw- 1 vagrant vagrant 0 Dec 2 23:16 sess_4dtg5rig9j7vjf7atgln6d73fo

Im not sure where to look to fix this, any help would be appreciated.

Last edited by mrcosgrove (2022-12-03 00:17)