Dhagaxtuur
Technical User
Help Please:
I have a session array contain list of items (5,20).
I want write out the items but I am getting the index numbers. How do I extract the values from the array?. This partcial code I try:
dim localCart
localCart=Session("cart"
FOR x = LBOUND(localCart) TO UBOUND(localCart)
IF localCart( cProductID, x ) <> "" THEN
RESPONSE.WRITE(localCart(cProductID,x)&" "&localCart(cProductPrice,x)&" "&localCart(cQty,x)&" "&userID&"<BR>"
END IF
Next
What I am trying to accomplish is session shopping cart. If any one know where can see example of this, please let me know
I have a session array contain list of items (5,20).
I want write out the items but I am getting the index numbers. How do I extract the values from the array?. This partcial code I try:
dim localCart
localCart=Session("cart"
FOR x = LBOUND(localCart) TO UBOUND(localCart)
IF localCart( cProductID, x ) <> "" THEN
RESPONSE.WRITE(localCart(cProductID,x)&" "&localCart(cProductPrice,x)&" "&localCart(cQty,x)&" "&userID&"<BR>"
END IF
Next
What I am trying to accomplish is session shopping cart. If any one know where can see example of this, please let me know