Where are session variables stored

Assuming you are the server master, how can you tell where the session files are stored? Can you intervene, modify this session file?

Isn’t it in php.ini, session.save_path?

1 Like

Hello @duocroinhehehe. A title of Help me please isn;t very helpful to those who might consider helping. I have changed it to something more descriptive. I hope it describes your problem.

5 Likes

thank you very much ! I will learn from experience !

1 Like

The server master would probably start by scanning the php manual: http://php.net/manual/en/book.session.php

The thing they would need to understand is that there are several common approaches to storing sessions. You can store them on the file system, in the database or even in memory just to name a few.

At that point the server master would realize, like so many other things, that it depends.

2 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.