We have a special request from one of our customers.
90% of all users have their own username, log in to DW the regular way, and have their own user based basket. This basket is persistent through sessions, browsers and everything. This works perfect.
Then we have 10% who visit the shop through a government purchasing system. In this scenario the customer might have 10 users, but they all use the same username, and there is nothing we can do about it. We have made a single sign on solution from the purchasing system to DW, and it works. But the downside is that the purchasing system can only send one username for all users of the purchasing system.
So basically we need to make sure that for the 90% of users tha basket should work as it does, but for the other 10% we need to make sure that the basket is not stored in SQL, but instead stored in the browser session to make sure that alle the users with same username does not see each others baskets.
Any thoughts on how to achieve this?