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)- A7% (3)
- B5% (2)
- C12% (5)
- D77% (33)
Community Discussion
No community discussion yet for this question.