I have two independent apps.
I would like to pass a set of paramaters/values between then. So when user clicks URLLink in one app that it trigers opening a page or window in other one.
so something like https://myapp1.somewhere.com/userinfo?id=0001 triggers action in other app
Is this supported in any scenario?
Thanks.
DiNo
ApplicationRefresh is fired every time an existing app is reloaded in the browser (refresh button, change or URL).
Application.HashChanged is fired when the hash string of the URL is changed.
If you have created the tab with a name using window.open() then you can keep using window.open() with the same name.
Hi Dino,
Have you thought about trying to use the FileSystemWatcher to write/read changes to a shared directory? For your scenario, you could have one app write a file to the shared directory containing info relevant to the URL parameters and have the other app watch for the changes in it (and read them).
Just another alternative solution!
Let us know what you decide to use!
Best regards,
Levie
HI,
so if I have two browser tabs opened, how can I call already opened and running app?
As .ApplicationRefresh and .HashChanged should be referencing existing already running app ?
Thanx,
DiNo
You can read the URL arguments and URL using the properties from the Application object:
https://wisej.com/docs/2.0/html/T_Wisej_Web_Application.htm
Look at QueryString.
You can also use the Hash property for the hash string.
You can detect changes for an existing session attaching to Application.ApplicationRefresh or Application.HashChanged.
HTH
Please login first to submit.