Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
02-24-2003, 08:59 PM #1
- Join Date
- Feb 2003
- Thanked 0 Times in 0 Posts
the cookie and the "shopping cart"
i am doing the client side programme. i would like to ask about using cookie to store the selected products to the shopping cart. can it work?
i would like to know that about what techinque using on the e-shopping cart? using cookie or any else to "store" the products in the shopping cart?
thank you very much
02-25-2003, 05:37 PM #2
- Join Date
- Jun 2002
- Flint, Michigan, USA
- Thanked 20 Times in 20 Posts
There is a limit of 4 Kbytes per cookie for the sum of both the cookie's name and value, and no more than 20 cookies per server or domain. The simplest use puts one item per cookie and limits your customers to 20 items total. You can sub-divide cookies to get more items if you wish; instructions are on the "Samples of my work > Cookies" page at:
Another way is to build your site in frames. Make one of the frames 100% and the other "*" for the size. Store all of the information into the second frame until you need it.