Clearing session object contents

  • Thread starter Thread starter itsme
  • Start date Start date
I

itsme

Hello,

I am storing an XmlDocument into the session.

Each time I want to store the XmlDocument into session, I
should clear the session object and then store the
XmlDocument.

Can anyone tell me, what is the best way to clear the
contents of a session object?

My Session object is "shoppingCart".

Session["shoppingCart"] = XmlDocument

Thank you!
 
Back
Top