T
Trevor
Problem
=======
Shopping cart sometimes fails. Customers complain. It appears to be a
cookie related problem.
Background
==========
ASP/Windows 2000, Cookie based, all financials handled via phone.
Shopping items at redburg.co.uk, but button links to merrows.
Cart at merrows.com - required for future use with different sites of
merchant account with Barclays, but the bank allows one URL per
account.
Code
====
-- basket id is stored on a DB and then all cart items are referenced
from that.
-- cookie holds only this id, URL, expiry
if cartEmpty then
getNewBasketShopperID
Response.Cookies ("shoppingcart")("BasketShopperID") =
thisBasketShopperID
thisExpiry = DateAdd("d",1,Now)
Response.Cookies ("shoppingcart").Expires = thisExpiry
else
thisBasketShopperID = Request.Cookies
("shoppingcart")("BasketShopperID")
end if
Request
=======
Has anyone got any ideas on the failures in the cart at merrows.com?
=======
Shopping cart sometimes fails. Customers complain. It appears to be a
cookie related problem.
Background
==========
ASP/Windows 2000, Cookie based, all financials handled via phone.
Shopping items at redburg.co.uk, but button links to merrows.
Cart at merrows.com - required for future use with different sites of
merchant account with Barclays, but the bank allows one URL per
account.
Code
====
-- basket id is stored on a DB and then all cart items are referenced
from that.
-- cookie holds only this id, URL, expiry
if cartEmpty then
getNewBasketShopperID
Response.Cookies ("shoppingcart")("BasketShopperID") =
thisBasketShopperID
thisExpiry = DateAdd("d",1,Now)
Response.Cookies ("shoppingcart").Expires = thisExpiry
else
thisBasketShopperID = Request.Cookies
("shoppingcart")("BasketShopperID")
end if
Request
=======
Has anyone got any ideas on the failures in the cart at merrows.com?