Iainmck Posted September 9, 2003 Posted September 9, 2003 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
Garry Claridge Posted September 9, 2003 Posted September 9, 2003 I'm not sure why User 1's Cookie is changing (to User 2's value). The Cookie is stored in the user's browser. Something else must be causing the problem! Garry
Anatoli Posted September 9, 2003 Posted September 9, 2003 Cookies in FM sucks, that is my conclusion. I am using only JS cookies or FM tokens.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now