Get the logon status in jiwa  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Get the logon status in jiwa

Postby nexio » Sat Jul 22, 2017 9:24 pm

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.
nexio
Occasional Contributor
Occasional Contributor
 
Posts: 24
Joined: Thu Jun 08, 2017 6:32 pm

Re: Get the logon status in jiwa  Topic is solved

Postby Mike.Sheen » Mon Jul 24, 2017 11:18 pm

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.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807

Re: Get the logon status in jiwa

Postby nexio » Thu Jul 27, 2017 4:21 pm

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.
nexio
Occasional Contributor
Occasional Contributor
 
Posts: 24
Joined: Thu Jun 08, 2017 6:32 pm


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 3 guests