
How can we know that a session is started or not?

Hi everyone,
The session is started in PHP by using sessionstart() function. The sessionstart() function always stay in the header portion in the PHP page. It will declares first after that we can use session_register() function for register the session for the PHP application.
Thanks
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.