Jump to content

This topic is 7815 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have created a solution which uses cookies fairly extensively. A typical example is where an order is placed and line items are then added to that order. The cookie is set upon creation of an order and is then used to populate the Order_Number field in the line items file for each subsequent associated line item placed on that order.

This works fine for a single user but, of course, the problems begin in a multi-user environment where the following happens.....

1. User 1 places order_no ABC (cookie set to ABC).

2. Prior to user 1 picking a line item user 2 places an order_no DEF (Cookie becomes DEF).

3. User 1 then picks line items however as cookie is now DEF they are placed against user 2's order.

I have tested changing one cookie to a token and this seemed to resolve the problem however prior to carrying out the major surgery that will be involved in changing all current cookies to tokens I'd be grateful for advice on how others have handled this, what I expects is, a fairly common situation.

Many Thanks

Iain

This topic is 7815 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.