Well,I have to state that I had been starting the session before the ini_set commands , I had mistaken that I thought I started the session after the ini_set. I think it doesn't matter cause I tried it otherwise and nothing changed.Anyway...
I tried for $HTTP_COOKIE_VARS and phpsessid isn't there. I tried this code and output is like that :
<?
setcookie('cook','cook');
foreach ($HTTP_COOKIE_VARS as $cook=>$val)
{
echo "There is $cook as $val<br>";
}
?>
the output is only:
there is cook as cook
I think php didn't generate phpsessid cookie though I tried to set it by ini_set('session.use_cookies','1').any idea ? Does it matter whether the 'session_start();' function call is above ini_set ?