Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Tokens, Cookies etc

Featured Replies

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

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

Cookies in FM sucks, that is my conclusion. I am using only JS cookies or FM tokens.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.