Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 4th, 2006, 07:57 AM
Registered User
 
Join Date: Nov 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Profiles and Shopping Cart

I've been using 'Beginning ASP.net 2.0' to build a non e-commerce related database driven site, and have found the book extremely helpful.

I've now been asked to build an e-commerce solution for another client. I'm confident that I can build the shopping cart following the guidance and examples from the book. And I've found a suitable payment gateway which looks like it will be fairly straight forward to integrate. However, the majority of users will be anonymous users, so I was hoping to not need a membership system. Will the shopping cart class work exclusively of the user profile, or would I still require profiles enabled with the cart property set to allow anonymous users?
 
Old November 5th, 2006, 03:30 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 105
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to DanM
Default

Hi,

As the book notes, the Cart is part of the profile and is enabled for anonymous users so each cart is associated with a sessionId rather than an actual user profile, but yes, you'll still need to enable profiles to use the code as we have or else you'll need to take the cart of the profile and write your own code to associate it to a unique sessionid. But why rewrite something if its already written?

Hope that helps.

Dan



Dan Maharry
Read the feed at http://feeds.feedburner.com/dansarchive
 
Old November 6th, 2006, 05:56 AM
Registered User
 
Join Date: Nov 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Dan for the Clarification. Great Help.






Similar Threads
Thread Thread Starter Forum Replies Last Post
shopping cart keyvanjan Classic ASP Basics 1 January 9th, 2007 10:16 PM
Shopping Cart seannie ASP.NET 2.0 Basics 0 December 12th, 2006 10:28 AM
Shopping Cart inkrajesh ASP.NET 1.0 and 1.1 Basics 2 February 28th, 2006 03:08 AM
shopping cart xipnl BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 June 10th, 2005 07:00 PM





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