Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

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.

Posted

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?

Posted

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

This topic is 3118 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.