View unanswered posts | View active topics It is currently Sat Aug 13, 2022 7:52 pm

Reply to topic  [ 1 post ] 
 session-tracking problem 
Author Message
Junior Member

Joined: Sat Mar 27, 2004 4:12 am
Posts: 1
hello friends,

i am stuck in a situation, plz help, the problem is as follows:

i am making a shopping cart, now the home page of the shopping cart shows item categories, and items under it. There is no account login facility yet as there is no requirement. I am able to start a session and track what items are added by the user to their cart and display them all the items, the users are also able to remove the items from their cart.

Now when someone closes the browser without checking out, the session expires and when the same person visits the same site and adds something to his cart, the old items are not retained, which he had chosen earlier, i am not able to figure out, how can i solve this problem i.e. if the user closes the browser and then re-visits the site in the next 1 or 2 days, he should see the items which was added by him earlier. I am storing the session id and all the items added to cart by him in the database.

Please help.
Gaurav Behl

Sat Mar 27, 2004 4:14 am
Report this post
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 0 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
© Copyright 2003-2008 The ultimate PHP Editor and PHP IDE site.