Sr. PHP Programmer Question:
Download Questions PDF

Explain how a PHP session works?


A PHP session cookie is set in the clients browser, on every request the client sends that cookie to the server. PHP then uses that cookie to select the corresponding session information. By default PHP session_start() will store session data in files, you can also store sessions in a database.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
How eregi() function works?What is the purpose of $_SERVER variable in PHP?