nerdexam
Zend

200-710 · Question #213

Which options do you have in PHP to set the expiry date of a session?

The correct answer is D. None of the above. See the full explanation below for the reasoning.

Question

Which options do you have in PHP to set the expiry date of a session?

Options

  • ASet the session.duration directive in php.ini
  • BSet session cookie expiry date locally via session_set_cookie_params()
  • CSet session expiry date locally via session_cache_expire()
  • DNone of the above

How the community answered

(43 responses)
  • A
    7% (3)
  • B
    5% (2)
  • C
    12% (5)
  • D
    77% (33)

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice