D
D
Dmitry Skogorev2016-10-09 04:39:33
PHP
Dmitry Skogorev, 2016-10-09 04:39:33

Why sessions don't work in php?

All the best.
Prompt, I kill the second night on the elementary jamb - sessions are not saved.
Centos 7, PHP 5.6.26
, in theory, everything should be stored in /var/lib/php/sessions/
So the script is working, at the very end I output var_dump($_SESSION) - everything is in place. The next tab is blank.
I naturally call session_start.
session files in the folder are empty and nothing falls there.
Help, I want to sleep =)
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Skogorev, 2016-10-09
@EnterSandman

I'll answer myself... for some reason it helped session.auto_start = on

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question