LoginUser_LoggedIn Method not called in walkthrough

May 24, 2010 at 4:40 PM

Hi there,

I am going through the tailspin application and I have come what I believe to be an oversight.  On page 55 of the documentation, A method is meant to be added to the MyShoppingCart Class. However, This method is not being called anywhere in the application as far as I can see. Any advice on the best place to call this? The method checks the DB to see if there is already a shopping cart with for the registered user, if there is then the two carts are merged. As it is now, this is not working as it is meant to. Thanks.

Jul 29, 2010 at 10:25 AM
I suggest that you'd better tell us the method's name. If it is the MigrateCart method, it is just attach the cart items with the user. Anonymous guests may put products into the cart. But when they are going to check out, the checkout method calls MyShoppingCarts's GetShoppingCartId() and the method returned the current user's name. if you don't write the MigrateCart function,you may can't get your checkout list on your checkout page.
Jul 29, 2010 at 7:06 PM

Kate is absolutly correct !!

Nov 3, 2010 at 6:10 PM

The name of the method is the title of the post. I am referring to the "LoggedIn” event handler. in the Login.aspx (code behind) page.