Explore topic-wise MCQs in PHP Questions & Answers Session Handling-1.

This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your PHP Questions & Answers Session Handling-1 knowledge and support exam preparation. Choose a topic below to get started.

1.

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

A. 3600 sec
B. 3600 min
C. 3600 hrs
D. the browser is restarted
Answer» B. 3600 min
2.

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

A. Session
B. Cookie
C. URL rewriting
D. Nothing happens
Answer» D. Nothing happens