Jump to content
Larry Ullman's Book Forums

Recommended Posts

I get the following error when I run the sessions.php script which includes the session handler functions

Warning: session_write_close() [function.session-write-close]: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/Applications/MAMP/tmp/php) in /Applications/MAMP/htdocs/advanced/sessions.php on line 37

line 37 is the call to session_write_close();

 

What does this mean exactly and how do I rectify it? Incidentally there is a session text file being saved in the tmp directory referred to - its full of data that I don't understand.

Link to comment
Share on other sites

 Share

×
×
  • Create New...