Its set to 1.
After much thinking i have managed to do it manually using setcookie("PHPSESSID", session_id()), this seems to have done the job and my test script works like a charm.
Not sure why it doesnt do it automatically, but thanks for the help.
At least this way i can change the cookies' lifetime if i want to.
Thanks
Lazesharp