My Report

Advanced PHP Test – 1


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. How many ways can a session data be stored?

2. Which one of the following is the very first task executed by a session enabled page?

3. What is the default number of seconds that cached session pages are made available before the new pages are created?

4. If session.use_cookie is set to 0, this results in use of _____________

5. What is the default time(in seconds) for which session data is considered valid?

6. Which one of the following is the default PHP session name?

7. Which one of the following function is used to start a session?

8. Which directive determines how the session information will be stored?

9. Neglecting to set which of the following cookie will result in the cookie's domain being set to the host name of the server which generated it.

10. If the directive session.cookie_lifetime is set to 3600, the cookie will live until ____________


 

Start practicing “1000 MCQs on PHP”, and once you are ready, you can take tests on all topics by attempting our “PHP Test Series”.

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.