how to pass an array of data with hidden fields or cookies?

how to pass an array of data with hidden fields or cookies?

am 24.10.2004 09:57:17 von Fred

Hi,

i know how to pass a value from Javascript to ASP with a hidden field into a
form and submitting it, or with cookies, but here i have to pass a lot of
data in an array.

There is a list of product the visitor can order by clicking one or more
checkboxes. I made a form containing input with type "checkbox" like:


....


I made a function which detect the checked products and which put those
productnumbers into an array, suppose prod[i]. That's ok.
But now, how can i pass that array to another ASP-page, where those
productnumber must be put into the database? It's not realistic to make a
lot of hidden fields, certainly because the amount vary each time.

Thanks for any hints
Fred