Home > Internet Programming > Quizzes > Internet Programming: Server Side Programming - PHP
Internet Programming: Server Side Programming - PHP
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 18% Most missed: “Which function is used to transform PHP’s session-handler behavior into that def…”
Internet Programming: Server Side Programming - PHP
Time left 00:00
19 Questions

1. What is the default number of seconds that cached session pages are made available before the new pages are created?
2. If the directive session.cookie_lifetime is set to 3600, the cookie will live until ____________
3. Which function is used to erase all session variables stored in the current session?
4. Which one of the following is the very first task executed by a session enabled page?
5. The session_start() function must appear _________
6. What is the return type of session_set_save_handler() function?
7. Which one of the following statements should you use to set the session username to Nachi?
8. Which function effectively deletes all sessions that have expired?
9. If the directive session.cookie_lifetime is set to 3600, the cookie will live until ____________
10. What will the function session_id() return is no parameter is passed?
11. Which directive determines how the session information will be stored?
12. Which one of the following function is used to start a session?
13. If session.use_cookie is set to 0, this results in use of _____________
14. How many ways can a session data be stored?
15. Which parameter determines whether the old session file will also be deleted when the session ID is regenerated?
16. Which directive determines how the session information will be stored?
17. Which function effectively deletes all sessions that have expired?
18. Which one of the following is the default PHP session name?
19. The session_start() function must appear _________