Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2003
    Posts
    1
    Thanks
    0
    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

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Flint, Michigan, USA
    Posts
    627
    Thanks
    1
    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:

     http://spruce.flint.umich.edu/~jalarie/

    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •