I have this written at the very first line on every page of my website.
include(\"restd.php\");
and restd.php contains the following lines
Your session directory (probably /tmp/) is not writable.
/tmp/
Check with session_save_path() if it is writable.
if (!is_writable(session_save_path())) { echo 'Session path "'.session_save_path().'" is not writable for PHP!'; }