Hi
What is the difference between Session.Clear() and Session.RemoveAll() method in ASP.NET ?
Difference Between Session.Clear() and Session.RemoveAll() Method
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Jun 24, 2012, 4:22 AM EDT
Actually there is no difference. Session.RemoveAll() methods internally makes a call to Clear() method only.
Thanks