I have requirement os online shop where users can add items of different types to cart and remove them. When add/remove performed I need to add them to session as attribute/coockie. How do I update session attribute when I click a HTML Button Control

Showing Answers 1 - 1 of 1 Answers

smar

  • Aug 25th, 2006
 

Dont User Cookie/Session, Create temp table in database dynamically according to User Id. and save the items to database. and u can add more or delete items. and even if any distrubance in system or website the items added to particular useid will no lose. and delete temp table while and adding into final request and trasfrom to orginal table. for this process you can use triggers to translate data from one table to another or by some logic you can use same table (temp) until the product is devivered. Thus their are many ways to view a cart process.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions