Google News
logo
ASP.NET - Quiz(MCQ)
To kill a users session explicitly which of the following will you use?
A)
Session.End()
B)
Session.Close()
C)
Session.Discard()
D)
Session.Abondon()

Correct Answer :   Session.Abondon()


Explanation : The Abandon method destroys all the objects stored in a session object and releases their resources. If we don't call this explicitly the server destroys this object when the session times out.

Advertisement