Hi
Q:-
Shopping Carts lose their values when the browser closes . Items added to the
shopping cart need to be persisted across multiple browsing sessions.
How we can achieve this??
Hint :-
After studying the include/cart.asp, cart items are being stored in Session variables which is
clearing the cart upon closing of the session. Update the AddToCart() and DropFromCart()
methods in cart.asp to persist the cart items to a cookie along with the session. Also update
Global.asa to look for the cookie and repopulate the Session object upon start of the session.
This should still allow the site to function as normal but allow the cart items to be maintained
across browser sessions. If possible, tie the cookie to a user so that multiple people using a
computer still have unique carts.
Pls guide , suggest , recommend ……
-Vin