Results 1 to 2 of 2
Oct 23, 2011, 22:45 #1
- Join Date
- Oct 2011
- 0 Post(s)
- 0 Thread(s)
How to check if session is already started?
I'm using session_start() to initiate the session and then assign a value in session global variable. But sometimes I get an error on session_start() saying session is already started. So is there a way to check if session is already started or not to get rid of such errors?
Also please suggest if there is any better way rather than checking existances of session.