Unanswered question

Limit user logged in a user path folder


Is there a way to limit the number of users within a user path folder?

For example, if I have a signout folder, I know my database crashes if too many users signout all at the same time because it causes too many connections at the same time.

Is there a way to say that a maximum amount of users can only be in that folder at the same time?

Thank you


You could add a delay prior to your logout transaction with a random value to make sure that the users will wait a different time and so they won't execute the logout transaction at the same time. Make sure that your random range is wide enough.