Results 1 to 2 of 2

Thread: Cookie, Please help

  1. #1

    Thread Starter
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    Hi,

    I need some help with JavaScript cookie. I am trying to write a very simple shopping cart.

    In my web page i will have few products, when the click on the add to cart button, i want to store the itemcode, itemprice, quantity in a cookies.

    So my cookie should set to something like the following.
    Itemcode ItemPrice Quantity
    abc1 10 2
    bcd3 50 3
    dace2 100 1

    I want to use this cookie to output the content of the shopping cart.

    My main problem is i dont know how to store more them one item in a cookie. If anyone can help me i would really appriciate it. Thanks millions in advnce.

    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  2. #2

Posting Permissions

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



Click Here to Expand Forum to Full Width