Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am working on a project. First see this website http://trolley.ae/[^].

In this website we can add the list of product either in login or without login.
Login Part we can add it to database and retrieve from there.

But challenging part is without login. How temorary basis stored the ProductId in the client side itself and once the user login we can add it to respective Database with customerid.

Any help

Thanks in advance
Posted
Comments
Mitesh Prajapati14 13-Dec-14 2:01am    
You need to store cart products into session. when user will logged in then you need to save that session object values into database with customer id.
Maciej Los 14-Dec-14 9:43am    
What have you tried? Where are you stuck?
[no name] 15-Dec-14 2:19am    
Please post what you have tried or you need any logic on this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900