title: how to store user data in asp.net?
body: <p>I'm developing an e-trade web application in ASP.NET. <br><br>
  To buy anything,first, users have to login. Let's say user logged in and started to shop. When user taps to <b>btnBuy</b>, i'm adding this item to a collection. Everything is working well so far. <br><br>
  Suppose that user bought something,<code>bought means here, i added item chosen to the</code><b>Basket</b> <code>which contains all the items chosen</code>,then closed the web browser. What i do want to do is to store this data to be able to retrieve this data when user comes back. So,users are able to pick up where they leave off.</p>
  
  <p>So far,i think of 2 options:</p>
  
  <p><b>1-)</b>Use XML file to retrieve data : I can use XML file to retrieve data but,here the problem is when user deleted an item chosen,i need to parse all the XML file to delete item chose,well ,what i think it's expensive.It makes the application very slower.
  <br><br>
  <b>2-)</b> Store in database : I think of storing in the database,but i think it's expensive as well. Because,every time users pick or leave someting, i need to make connection ,request ,query etc. <br></p>
  
  <p><br>
  Do u guys any idea,what is the best way to do that ? Am i on the right track here ? </p>
  
  <p>Thank you. </p>