PHP 1. To end a web-session(*), you should: (*) That is, a \'web session\' such
ID: 3720371 • Letter: P
Question
PHP
1. To end a web-session(*), you should:
(*) That is, a 'web session' such as initiated by php's session_start().
Question options:
Delete the contents of $_POST.
Delete the client-side file containing the session contents.
Delete any data associated with that user from the database.
Close the http network port.
Delete the server-side file containing the session contents.
Destroy the session cookie -- that is, (ask the client to) set the cookie to the empty-string, with an expiration-date in the past.
Zap the user with an amnesia ray (a "neuralyzer").
Delete the contents of $_SESSION in memory.
Delete the contents of $_POST.
Delete the client-side file containing the session contents.
Delete any data associated with that user from the database.
Close the http network port.
Delete the server-side file containing the session contents.
Destroy the session cookie -- that is, (ask the client to) set the cookie to the empty-string, with an expiration-date in the past.
Zap the user with an amnesia ray (a "neuralyzer").
Delete the contents of $_SESSION in memory.
Explanation / Answer
Answer)
Delete the server-side file containing the session contents.
Destroy the session cookie -- that is, (ask the client to) set the cookie to the empty-string, with an expiration-date in the past.
Delete the contents of $_SESSION in memory.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.