How to close a session properly?



How to close a session properly?..

Answer / Maneesha Meena

In PHP, you can close a session using the session_write_close() function. It ensures that all current output is sent to the browser before closing the session.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

How does session work in php?

1 Answers  


What is the current php version?

1 Answers  


How do I know my xampp version?

1 Answers  


Which php framework is fastest?

1 Answers  


How to protect special characters in query string?

1 Answers  


What are the Advantages and Application Areas of PHP?

1 Answers  


What is the use of return in php?

1 Answers  


What are the characteristics of php?

1 Answers  


How can we enable error reporting in php?

1 Answers  


What is self in php?

1 Answers  


what server connected

1 Answers   Wipro,


Does wordpress still use php?

1 Answers  


Categories