Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

shopping cart

Status
Not open for further replies.

malladisk

Programmer
Jun 14, 2001
69
US
Hi, All!
I'm new to ASP and trying to simulate an online store. I was wondering how to implement a cart which is valid for a user. How about this: What if I create a dictionary (or an array) in the onStart function and delete it in the onEnd fuction and store these procedures in the global.asa file? Then I think this object is available for every session so that I can use this to store info about a user's purchases.
Will this work? If yes, any fine tuning? If no, why not? How else can I implement one?
Thanks,
Sashi
 
I presume this could work, but i use a database table:
cart_id (auto number)
cart_userID
cart_productID
cart_quantity



br
Gerard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top