Page 1 of 1

Integration and interaction between heterogeneous environments.

Posted: Thu Dec 05, 2019 7:25 am
by PFE
In an application developed with Rich Display File that starts with the URL [... / start] the user is identified by a Web LOGIN page. A session starts on the IBM i system. The user can start and stop other programs in RDF mode until the end of the session.

My questions are:
1 - How to launch a new window or tab from the browser and an RDF program, based on business rules, to initialize a new session identified with the same user so that it is independent of the first one by adding parameters on the initial program [... / start]?

2 - How to do it from the browser and an RDF program to launch a new window or tab with a [... / start] URL on another IBM i?

3 - In this second case could we initialize this new session identified with the same user, but I think that the system being different it seems impossible?

4 - Variant of the first question how from a third-party application (in different web technologies) to launch a new window or tab to initialize a new session identified with the same user identified in the browser for a recipient system?

We do not have the Atrium portal because it does not allow us to integrate on the portal solution being implemented or on the choice of graphical charter to apply.


Thanking you in advance for your answers that will allow me to move forward and find a solution to this problem of integration and interaction between heterogeneous environments.

Re: Integration and interaction between heterogeneous environments.

Posted: Thu Dec 05, 2019 9:42 am
by Scott Klement
PFE wrote: 1 - How to launch a new window or tab from the browser and an RDF program, based on business rules, to initialize a new session identified with the same user so that it is independent of the first one by adding parameters on the initial program [... / start]?
From JavaScript code in the display you can use window.open() to launch a new window/tab.

Code: Select all

window.open("/profoundui/auth/start");
If you launched the original session with browser authentication (i.e. a URL with /auth/ in it) and also launch the new session the same way, the browser will automatically log you in as the same user/password.
PFE wrote: 2 - How to do it from the browser and an RDF program to launch a new window or tab with a [... / start] URL on another IBM i?
Same as above, except you'd specify a URL to another system

Code: Select all

window.open("http://new-ibm-i.example.com:8080/profoundui/auth/start");
In this case, it will require you to sign in the first time, since it is a different system.
PFE wrote: 3 - In this second case could we initialize this new session identified with the same user, but I think that the system being different it seems impossible?
Correct, it won't be automatic. However, once the user signs in once you can launch the URL multiple times and the login will be automatic (until they close the browser.)
PFE wrote: 4 - Variant of the first question how from a third-party application (in different web technologies) to launch a new window or tab to initialize a new session identified with the same user identified in the browser for a recipient system?
Same as above.