Recently i faced this question, "What is difference between Session.Clear and Session.abandon?"
Session.Clear() will clear the contents of the session.
Session.abandon() will clear the contents of the session. It also terminates that session. Generally when we wants to end the current session, we will call abandon() method. Hence, abandon() method fires session_end event also.
Read More..   [32134 clicks]
Published under: ASP.NET Interview questions · · · ·