I believe that by calling session_start at the top of the page, a session ID is generated, and the PHPSESSID variable is populated.
If that doesn't work, you could always scan your /tmp directory for new session files, but that's a little extreme 🙂