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.

Featured Replies

LS,

My plan is to let the FMS handle more duties, without overloading the server. 

For instance 25 PSOS are allowed, so I would like to get the count of those sessions.
How do I do that ? I would like to think there would be a simple way to know how many sessions are running and which script they are running.

Or shouldn't I be doing this at all ?

Regards.

I think a potential blocker would be that checking this as part of a server side script would consume a session, so you would ideally want to check this before calling your PSOS. Perhaps having a table that tracks availability? You would need to make this part of your scripting and update it when a PSOS runs and also when it ends to "check in" and "check out" a session to keep a running count. Maybe also a server side scheduled script to refresh it every so often as well?

I think the way to handle this is to set the max # of session that you think your server can handle and then in your script check for the error that FMS will throw in you try to do something through PSoS and no sessions are available.  You can then either:

- script it so that the functionality will run on the client

- or loop and wait for a session to become available

- or tell the user and stop

  • Author

For now I am just going to go some error capture...
something like : 

perform script on server
if[ Get (LastError) = 815]
perform script

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.