Need server name to pass url dynamically for organization login page
On clicking logout button, it needs to be land on organisation page.
If i need to provide organisation page url for redirectURL of logout button means, syntax will be
<server name>/Thingworx/FormLogin/<Organization Name>.
The server name differs system to system. I want to provide this dynamically.
1. So when the user logging in the organisation page, any possibility is there to store the url in session variable? So that i can reuse the url for logout widget redirectURL.
2. (or) any other way is there to get server name of any server dynamically using service??
