Wrox Programmer Forums
|
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 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 January 30th, 2010, 04:30 PM
Authorized User
 
Join Date: Oct 2008
Posts: 23
Thanks: 5
Thanked 0 Times in 0 Posts
Default Shopping Cart losing contents

I finally have an excuse to use the shopping cart. I have never touched it. But for some reason, it loses contents between adding then (ShoppingCart.InsertItem) and the redirect to ShoppingCart.aspx. Currnently, I am only trying this anonymously. I can see this items added debugging ShowProduct, but they are gone as soon as ShoppingCart.aspx loads.
Any clues?
 
Old January 31st, 2010, 12:29 PM
Authorized User
 
Join Date: Oct 2008
Posts: 23
Thanks: 5
Thanked 0 Times in 0 Posts
Default Still isn't working, but i am closer.

Apparently at some point my application stopped storing anonymous profiles. I have no idea why. The web config still says to allow anonymous. Logged in user stuff still works. Roles work. But I noticed I have zero anonymous user. Anyone have any ideas? It used to work because I had to clean up every once in a while.
 
Old January 31st, 2010, 12:53 PM
Authorized User
 
Join Date: Oct 2008
Posts: 23
Thanks: 5
Thanked 0 Times in 0 Posts
Default Found it. Posting for exvyone else benefit.

<profile ....automaticSaveEnabled="true"
...
</profile>

I must have added it sometime. Duh.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Shopping cart help rsm42 ASP.NET 1.0 and 1.1 Basics 3 December 9th, 2006 06:09 AM
convert shopping Cart contents to string paulk ASP.NET 2.0 Basics 0 July 1st, 2006 08:30 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
Shopping cart Manoj babu General .NET 0 February 14th, 2005 04:20 AM





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