Interview Questions

What method do you use to explicitly kill a user’s session?

ASP.NET and .NET WEB Questions and Answers


(Continued from previous question...)

What method do you use to explicitly kill a user’s session?

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.
Syntax: Session.Abandon

(Continued on next question...)

Other Interview Questions