How can I remove a unknown session start without my knowledge?
I get this notice:
Notice: a session had already been started -ignoring session_start
How can I remove a unknown session start without my knowledge?
I get this notice:
Notice: a session had already been started -ignoring session_start
The session_start()
- function can only be called one time, and is then defined for the rest of the file. If you have it included from another file, you need not call it again from this file.
Perhaps you could check with session_status()
if session is already running and then decide whether or not to call session_start()
Have a look at: http://php.net/manual/en/function.session-status.php