Lakshya Education MCQs

Question: What is the default number of seconds that cached session pages are made available before the new pages are created?
Answer: Option B

Submit Answer & Explaination

Earn Reward Points by submitting Detailed Explaination for this Question

More Questions on This Topic :

Question 1. What is the default time(in seconds) for which session data is considered valid?
  1.    1800
  2.    3600
  3.    1440
  4.    1540
Answer: Option C
Question 2. Which one of the following function is used to start a session?
  1.    start_session()
  2.    session_start()
  3.    session_begin()
  4.    begin_session()
Answer: Option B
Question 3. Which function is used to erase all session variables stored in the current session?
  1.    session_destroy()
  2.    session_change()
  3.    session_remove()
  4.    session_unset()
Answer: Option D
Question 4. 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.
  1.    session.domain
  2.    session.path
  3.    session.cookie_path
  4.    session.cookie_domain
Answer: Option D
Question 5. If the directive session.cookie_lifetime is set to 3600, the cookie will live until.
  1.    3600 sec
  2.    3600 min
  3.    3600 hrs
  4.    the browser is restarted
Answer: Option A
Question 6. If session.use_cookie is set to 0, this results in use of.
  1.    Session
  2.    Cookie
  3.    URL rewriting
  4.    Nothing happens
Answer: Option C

Check all Questions in this Topic : Click HERE