Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 8th, 2007, 07:17 PM
Registered User
Join Date: Jun 2006
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default persistent shopping basket and price changes


In the book, the persistent shopping cart is stored as a serializable class in the asp.net profile system. The book claims that this saves the user the time and trouble of writing their own tables and stored procedures for accessing the shopping cart.

I have never implemented a persistent shopping cart like this. What would you do if the product information has changed since the user last visited the website. I guess when you first load the stored shopping basket you could check the shopping basket against the database to see if the products still exist and if their prices are still the same. However, doesnt the very fact you have to check the shopping basket against the database negate any benefits of storing the basket in the asp.net profile rather than in its own database tables?

thanks very much

  #2 (permalink)  
Old May 3rd, 2009, 12:12 PM
Authorized User
Join Date: Jul 2006
Location: , , .
Posts: 13
Thanks: 3
Thanked 0 Times in 0 Posts

The aspnet_Profile table is data hungry with three large columns. The download has 500 rows - almost 1mb of data.

Thebeerhouse stores shoppingcart and user settings in this table so with say 10,000 users you would be looking at up to 20mb of data in one table.

Along with the fact that the persistent cart doesn't reflect any changes in stock qty or price, it looks like the data would be better maintained in specific tables.

Do customers want to see old items in their cart on the next visit anyway? Amazon keeps the old cart data but I personally find it a pain to clear out my old cart when I'm buying.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
shopping cart-fly to basket in asp.net shanthiniGanesh .NET Framework 2.0 3 August 1st, 2012 01:36 PM
Persistent URL (P.U.R.L) sloesch VB.NET 1 January 23rd, 2006 11:57 AM
Persistent Classes?? MAtkins General .NET 8 December 15th, 2004 04:00 PM
total of items in my basket Ashleek007 Classic ASP Basics 1 January 29th, 2004 10:03 AM

All times are GMT -4. The time now is 10:20 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.