Last post Feb 03, 2012 01:18 AM by MetalAsp.Net
Feb 03, 2012 01:03 AM|Vishul|LINK
i want to create a shopping cart .
how to use session variables to keep track of items added in cart
Feb 03, 2012 01:13 AM|rohitpundlik|LINK
Look the below nice article...
Feb 03, 2012 01:18 AM|MetalAsp.Net|LINK
You can create a class called, say OrderItem. Then have a List<OrderItem>, which you store in session: Session["Orders"] = OrderfList; Then when you read it back it's something like: List<OrderItem> orders = Session["Orders"] as List<OrderItem>. You can
manipulate the klisxt any way you want, and then update the session key as needed.