Page 1 of 1

Get the logon status in jiwa

PostPosted: Sat Jul 22, 2017 9:24 pm
by nexio
Hi,

We have external application built in C# and ASP.NET for service manager jobs, but when we try to run multiple instances of the application, it does not allow all of them, and only one instance is able to go through (viewtopic.php?f=26&t=801).

Is there any way to know if some instance is already logged on to Jiwa?
We are using the same user for logging in through JiwaApplication.Manager.Instance.Logon. If we can track how many instance are logged in, or if a user is already logged in, we can make the new incoming session wait for a while, fetch the data for current session and log out and log in the new session.

Thanks.

Re: Get the logon status in jiwa  Topic is solved

PostPosted: Mon Jul 24, 2017 11:18 pm
by Mike.Sheen
You can perform an uncommitted read on the SY_LicenceUsages table to see current licence usage.

Code: Select all
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
SELECT * FROM SY_LicenceUsages


If you need additional licences for development purposes, then PM me the details (include the version of Jiwa and the Company Name as set in the system configuration) and I can organise those for you. We're happy to give developers the licences they need to develop the solutions they're working on.

Re: Get the logon status in jiwa

PostPosted: Thu Jul 27, 2017 4:21 pm
by nexio
Hi Mike,

Thanks for reply. It would help us a lot in development in current and future projects. I will PM you the details.

Thanks.