Basic PHP Programming Question:

Download Job Interview Questions and Answers PDF

How To Turn On the Session Support in PHP?

PHP Interview Question
PHP Interview Question

Answer:

The session support can be turned on automatically at the site level, or manually in each PHP page script:

* Turning on session support automatically at the site level: Set session.auto_start = 1 in php.ini.
* Turning on session support manually in each page script: Call session_start() funtion.

Download PHP Interview Questions And Answers PDF

Previous QuestionNext Question
How can I embed a java program in php file and what changes have to be done in php.ini file?Explain the ternary conditional operator in PHP?