Home Answers Viewqa PHP How can we know that a session is started or not?

 
 


brijesh
How can we know that a session is started or not?
1 Answer(s)      2 years and 6 months ago
Posted in : PHP

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

View Answers

November 16, 2010 at 11:20 AM


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









Related Pages:

Ask Questions?

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.