This may or may not be of help.
I set up my site this way to enable session ID's to be established on the 'first page' for users without cookies enabled.
Basically, I have the index.php page make the necessary tests for the session ID/cookie and then call another page using "header: (location, etc." with the session ID appended to the url. (They also get sent to this page when they click on 'log-out'.
Hope this helps.:
session_start();
if ($logout=="yes")
{
unset($PHPSESSID);
unset($loggedin);
unset($logout);
$PHPSESSID="";
$lifetime=time()+2;
setcookie("PHPSESSID", $PHPSESSID, $lifetime, "/", ".advantagegear.com", 0);
$count=0;
}
if (!isset($HTTP_COOKIE_VARS["PHPSESSID"]))
{
$PHPSESSID=session_id();
$lifetime=time()+14000;
setcookie("PHPSESSID", $PHPSESSID, $lifetime, "/", ".advantagegear.com", 0);
session_register('count');
$count=1;
}
header("Location: page1.php?PHPSESSID=$PHPSESSID");