php - session files not found in session save path -


i trying use following php script specify session save path:

<?php echo session_save_path('/temp'); echo session_save_path(); ?> 

line 2 set save path directory called ‘/temp’. line 3 print out current save path. expected, did print out ‘/temp’. went temp directory session files there none. restarting apache server didn’t help. when call phpinfo(), can see session.save_path has no value. can kindly , patiently tell me how correctly set session_save_path , find session files please?


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -