Multiple choice technology programming languages

How do you explicitly kill a user’s session ?

  1. Session.Close ( )

  2. Session.Discard ( )

  3. Session.Abandon ( )

  4. Session.Exit ( )

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

Session.Abandon() is the correct method to explicitly terminate a user's session in ASP.NET. It ends the current session, releases session resources, and fires the Session_End event. The other methods (Close, Discard, Exit) do not exist in the Session API.