Skip 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.

Global Script Variables in MultiUser Environment

Featured Replies

I'm loving the Script Variables introduced in FM8. Although I've used only "local variables" so far, I see some powerful benefits of "global variables." But there is a nagging issue about how Global Script Variables behave in a multiuser environment....

Are Global Script Variables discrete to the user ... similar in principle to how global fields operate?

Or, are Global Script Variables concurrently shared by all users?

I suppose it comes down to this ... if two users run the same script, does User2 "inherit" the Global Script Variables set by User1, or are the Global Script Variables "sequestered" to their respective sessions?

I have always assumed that both local and global script variables as well as script parameters are, as you say, "'sequestered' to their respective sessions."

What have you seen that would suggest otherwise?

I can't imagine how variables could be anything other than user specific. Just think how badly a loop counter would get messed up if two users ran the same script at the same time.

I can't imagine how variables could be anything other than user specific. Just think how badly a loop counter would get messed up if two users ran the same script at the same time.

I will be in some trouble if they aren't user specific. I use them heavily.

No need to worry. Variables only exist in the user's session. Just like data in a global field.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.