Multiple choice

Which method of the Session Object is used to destroy a user session?

  1. TimeOut

  2. Destroy

  3. Abandon

  4. Remove

  5. Session.Contents.Remove

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The Abandon method destroys all the objects stored in a Session object and releases their resources. If you do not call the Abandon method explicitly, the server destroys these objects when the session times out.