Monday, March 2, 2015

Session.Abandon() in C#

Per this, Session.Clear(); removes everything from that dictionary you might access with Session["whatever"] while Session.Abandon(); apparently raises a Session_End request which does all that and more, potentially throwing an event for a request to another page as an error!

No comments:

Post a Comment