Possible Duplicate:
PHP sessions that have already been started
I have run a my PHP project on windows and also Mac with same code . But I got this error when I run my project in windows not in Mac.
error message is .
A session had already been started - ignoring session_start()
which is come only on Windows system. But In Mac I didnt get any error message.
Please any one give me a solution …..
You said that you starts session with a check:
The fact is the $_SESSION always exists and if you aren’t put something in it then it will be always empty, so the statment will return always true.