Junior PHP Developer Question:

Download Job Interview Questions and Answers PDF

Do you know when sessions ends?

Junior PHP Developer Interview Question
Junior PHP Developer Interview Question

Answer:

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

Download Junior PHP Developer Interview Questions And Answers PDF

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?