Click to See Complete Forum and Search --> : Appending Cookies


Superfly1611
09-08-2003, 04:47 AM
Can you add a new line to the end of a cookie?

I'm writing a shopping basket for this web app that i'm writing.

I'm new to cookies so you'll have to cut me some slack i'm afraid.....

When a user presses a button i want that button to add a new line to the existing cookie i,e add a new line to the order.

So far i can only find functions that completely re-write the cookie instead of simply adding to it like you could a CSV.

Incase your wondering i'm using Classic ASP.
Anyhelp you could give would be appreciated

Superfly1611
09-08-2003, 08:38 AM
All sorted - keep doing this - i post and a while later i sort it myself.

But thanks anyway.

Incase your wondering - as i said earlier i'm very new to cookies and didn't know about key values.

What i'm doing is passing each order line under a key value determined by the product id.

Therefore when i submit this info it will only overwrite the orderline of that product.... which is perfect.