I have this at the very top of my send.php file:
send.php
ob_start(); @session_start(); //some display stuff $_SESSION[\'id\'] = $id; //$id has a value
please make sure the session.save_path is set correctly in the php.ini. php needs read/write access to the directory to which this variable is set.
session.save_path
php.ini
more information: http://www.php.net/manual/en/session.configuration.php#ini.session.save-path