02-24-05 10:52 PM
Why don't you you just test for cart contents as part of the login
process.
If the cart has items in it, delete the cart, and start over.
Or... Am I missing something?
-tomas
On Thu, 24 Feb 2005 08:15:06 -0800, DouglasGG
<DouglasGG@discussions.microsoft.com> wrote:
>The way our site in development works now is that cart contents are still
>showing between sessions. For example, I log onto the site, add contents t
o
>the cart as an anonymous user and then login. The items are associated wit
h
>the cart of my login, but after I close my window and re-access the site, i
t
>still shows the contents of my cart.
>
>If I erase my cookie and go to the site, the cart is empty and the contents
>show up in my cart after I login, but in the above situatuion the cart shou
ld
>be empty since they got associated with an account.
>
>I toyed with the idea of setting the cookie expiration date in the MS
>Commerce Server manager to 1/1/2000. The idea was that the cookie would
>expire, effectively emptying the cart so you wouldn't see anything in it wh
en
>you first reach the site. Unfortunately this doesn't seem to be working.
>
>Has anybody else implement their sites in a similiar fashion, and how did
>they do it?
[ Post a follow-up to this message ]
|