I am currently experiencing problems with the PHP function session_id.
At the beginning of my scripts, I want to check whether the user has a session and I do not want to call session_start() as that would generate a session cookie.
Whenever I call session_id, it returns '' , even if a session is definetely set. I verified that a session is set by checking for the session cookie via the $_COOKIE array.