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'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