When I have session_start() on this script I sometimes get the error message for "session already started". For that I've put these lines:
but this time I got this warning message:
Notice: Undefined variable: _SESSION
Is there a better way to check if session has already started?