Junior PHP Developer Question:

Do you know when sessions ends?

Tweet Share WhatsApp

Answer:

Sessions automatically ends when the PHP script finishs executing, but can be manually ended using the session_write_close().

Download Junior PHP Developer PDF Read All 161 Junior PHP Developer Questions
Previous QuestionNext Question
Do you know what is the differences between $a != $b and $a !== $b?Tell me how can we define a variable accessible in functions of a PHP script?