Answer the question
In order to leave comments, you need to log in
Where is the data from the SESSION array stored?
configured htaccess session.save_path site/var/sessions/
now session files are saved to it
made session_start
wrote a variable to the session $_SESSION['file'] = 'file'
reads fine and everything works
but in the file itself in the site/var/sessions folder /sess_sfsdfj4j234 does not have this data, it is empty,
respectively, variables from the SESSION array are stored in the computer's memory, and not in a file?
how to save to file?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question