Charon Cart Version 2 Tutorial Support Product Page

This topic was archived

What value should be bound to the UniqueKey column

Asked 12 Jul 2002 05:14:27
1
has this question
12 Jul 2002 05:14:27 Omar Elbaga posted:
On page 5 of the tutorial, in the section titled "Add To Cart From Link" ... when one binds values to the cart columns in the dialog box,
what value should be bound to the <b>UniqueKey</b> column in the cart?

Replies

Replied 12 Jul 2002 09:08:32
12 Jul 2002 09:08:32 Rolf Herbert replied:
By default the unique key of the cart and charon array is assigned this value int(rnd*9999999)+10000000 (which you can see clearly from the code window).

It is best to leave this at its default setting as there is then a random number associated with each order. This is not strictly nesseccary as the orderID is created through the Session ID variable but you can never have too few uniqe keys!

Rolf

Reply to this topic