Sorry about cross posting...this ones about storing product information in an array and storing that data in cookies (DB is the other option).
With the following array defined:
Cart = Array("Product", "Description", "Price"
I'm right in saying that it is only stroed in memory right?
Ok, so let's say there are 3 items in the Cart array, can I save all that info with teh same data structure as cookies? Then, on the next page retive the info from the cookie on the same format? I.e.,
response.write (variable ("Product[1]", "Description[1]", "Price[1]".
Would this:
Cart = Array("Product", "Description", "Price"
Session("Cart" = Cart
Save the Cart array datastructure in teh session var as-is and I can then access the session the same way I would access the array?
- Jace.
With the following array defined:
Cart = Array("Product", "Description", "Price"
I'm right in saying that it is only stroed in memory right?
Ok, so let's say there are 3 items in the Cart array, can I save all that info with teh same data structure as cookies? Then, on the next page retive the info from the cookie on the same format? I.e.,
response.write (variable ("Product[1]", "Description[1]", "Price[1]".
Would this:
Cart = Array("Product", "Description", "Price"
Session("Cart" = Cart
Save the Cart array datastructure in teh session var as-is and I can then access the session the same way I would access the array?
- Jace.