Answered by:
Shopping Cart

Question
-
Hi All
I need some help with my shopping cart.
I want clients to add items to a basket, and all the items in the basket will stay there for 1 week. So what I do is load it into a Database (the client’s basket).
The client does not log in only going to log in once the check out button is pressed.
Now, how do I know if the client returns?
I must find something that is unique to that client!
At the moment I am using the clients IP address, so I log all the items in the clients basket to an IP address, if the client returns and the IP address is the same I load the basket.
I use: Request.UserHostAddress to get the IP address.
Will this work, logging the IP address or is there some other way of doing this?
Thanx
Jdebie- Moved by Peter Ritchie Friday, June 20, 2008 4:40 PM off-topic
Thursday, June 19, 2008 12:53 PM
Answers
-
For questions and discussions relating to ASP.NET, please see http://fourms.asp.net/
http://www.peterRitchie.com/blog- Marked as answer by Peter Ritchie Friday, June 20, 2008 4:40 PM
Friday, June 20, 2008 4:39 PMAll replies
-
Ever heard of something called a "Cookie"? Something to start off here. And I hope your application is a Web Application.Thursday, June 19, 2008 1:04 PM
-
At the moment I am using the clients IP address, so I log all the items in the clients basket to an IP address, if the client returns and the IP address is the same I load the basket.
What if the client has a dynamic IP address?
Next time he may have a different IP.
AlexBThursday, June 19, 2008 1:19 PM -
For questions and discussions relating to ASP.NET, please see http://fourms.asp.net/
http://www.peterRitchie.com/blog- Marked as answer by Peter Ritchie Friday, June 20, 2008 4:40 PM
Friday, June 20, 2008 4:39 PM