Sr. PHP Programmer Question:
Download Questions PDF

How will you access session variables in PHP?

Answer:

Session variables are stored in associative array called $_SESSION[]. These variables can be accessed during lifetime of a session.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
How will you get the browser's details using PHP?How will you retrieve stack trace using Exception class in PHP when error occured?