|
Navigation: Part II - Enhanced Features > How TOs and FAQ > How do I implement concurrent user testing? > 1 user concurrent user module |
![]() ![]()
|
If you have a concurrent user system running with 1 licence, then the automated detection of a machine that hangs does not work. The user is only removed if the same user logs in again.
We recommend implementing the following workflow with a licence for 1 concurrent user:
If Error 32 (no free licence) -> Check TotalLicences
If TotalLicences=1 (one user licence)
Delete the user in the licence file
| • | GetEntriesOfModule (retrieve a list of all users) |
| • | DeactivateEntry (deactivate the user with the username from the result of GetEntriesOfModule) |
| • | RemoveDeactivated (delete all deactivated users) |
Wait to check if the user is alive
| • | CheckInterval (retrieve the time in seconds a user should respond - heartbeat) - with a one user system this would be 8 seconds |
| • | Wait for this interval x 2 |
| • | Retry the ValidateEx |
If you still get error code 32, then the other user is a live user and no licence is available.
If you get status error code = 0 then your user has got the new licence