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
Check maybe your session path does not exist so you can save PHP session path using:
ini_set(' session.save_path','SOME WRITABLE PATH');