PDA

View Full Version : eCart per user


jon245706
04-04-2009, 06:53 AM
i have created a login system using WA Security Assist, so different users may be able to login and out on the same machine.

Each user can use an eCart to save items they are viewing.

Unfortunately the same eCart shows for each user !!!!!

Why is this ? ... I can't seem to set eCart to start a unique cart per user.

HELP !!

Ray Borduin
04-06-2009, 07:12 AM
eCart is stored per session. If you want it to be reset for each user you could clear the cart during login.

jon245706
04-06-2009, 07:15 AM
Hi Ray

Thanks for the info.

The problem is that I want the user to be able to see the contents of their cart when they return to their login page. That could be after a timeout, or after a week.

Ray Borduin
04-06-2009, 07:22 AM
You will have to store the cart in the database and retrieve it from the database to do this... these are both available as server behaviors.

jon245706
04-06-2009, 07:28 AM
of course... doh ... i will check them out. thank you