PHP session_save_path() Function
What is session_save_path Function?
The "session_save_path()" function is used to get or set the current session file path .
In the above syntax, one can get the session file path or even set the path using "path", which changes the current session file path.
echo "Session save path is ", session_save_path();
In the above example the path of the current session file "windowstmp" is displayed.