PHP doesn't support multiple simultaneous sessions. Calling session_start()
a second time in a request doesn't do anything unless the existing session was destroyed (via session_destroy()
).
session_start()
creates a session or resumes the current one based on a session identifier passed via a GET or POST request, or passed via a cookie.
http://php.net/session-start