Results 1 to 7 of 7
May 31, 2007, 04:11 #1
- Join Date
- Sep 2004
- 0 Post(s)
- 0 Thread(s)
Cookie Based Or Session Based Shopping Cart
I want to make shopping cart which should be based on PHP cookies or Sessions.
Some points :
A- Only data will be fetched from database [like product name, product picture , product price etc].
B- No data insertion in database tables [untill user clicks on checkout process]
C- All shopping cart calculations would be handled through PHP cookies or session values.
Can someone guide in this regards [some code example] and which approach is better :
1- Cookie based
2- Session Based
Thanks in advance