Hey people.. hope you are all well
I have a shopping cart that uses ASP session arrays to store the cart data....
My problem is:
- A customer adds products to the cart, and the stock levels are adjusted accordingly (but does NOT buy them).. GREAT
- BUT then the customer gets disconnected from the web site for one reason or another (line dropped or simply went to
another site).. . NOT GREAT as those products that were in the shopping cart have not been put back into stock and have
I looked on the net and found response.IsClientConnected, which returns true/false COOL so my plan was to use a function with these basic parts, which would be on every customers browser.
Every n seconds
If our customer is NOT conencted
Put their cart qtys back into stock
i was also going to put this into the onLoad part in the BODY tag... but i could not get it to run a ASP function.
Does anyone have any other ideas that would help me out :)
Thanks in advance people
And have a great and groovy day.