简体   繁体   中英

Path of session variables on server

How to get complete path of session variables stored on server in php. Even though I used phpinfo() method,I could not find out.

The $_SESSION variable storage is determined by PHP's session.save_path configuration. Normally this is /tmp on a Linux/Unix PC. Use the phpinfo() function to view your particular settings :

check PHP documentation:

http://us.php.net/manual/en/session.configuration.php#ini.session.save-path

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM