2

I am running a PHP application on an apache server. Where can I find the session files that the server creates? is there a standard file name for php sessions?

1 Answer 1

5

Normally they are stored under /tmp. You can also check session.save_path in the php.ini (or use phpinfo();) for more details.

Sometimes they are also stored in a database. You might want to check if session.save_handler is set to files.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.