Redirect your end user to a specific exit URL Thinfinity Virtualui

How to configure an exit URL after closing your Thinfinity® VirtualUI app

How to configure an exit URL after closing your Thinfinity® VirtualUI app

Thinfinity® VirtualUI allows you to redirect your end user to a specific exit URL once they close your application. To learn how, follow these steps.

First, you will need to locate the file app.js, which can be found in the following path: C:\Program Files\Thinfinity\VirtualUI\web\js. Next, open the file as an administrator and locate the following function.

Configure an exit URL after closing your Thinfinity VirtualUI app, step 01

To make this edit, you will need to delete lines 73 to 153 of the code. When you are finished, the code should look like this:

Configure an exit URL after closing your Thinfinity VirtualUI app, step 02

Next, delete the function virtualUI.onClose, and replace it with the following:

virtualUI.onClose = function (url, status) {

location.href = ‘https://google.com’;

};

The code should now look like this:

Configure an exit URL after closing your Thinfinity VirtualUI app, step 03

After making these changes, replace the URL following location.href with the desired URL, save the file, and the next time you close an app running through VirtualUI, it will redirect you to that URL.

Have any questions?

Book a call today to learn more about how Thinfinity® can help your organization. We are always available to guide you and provide the best solution based on your specific needs.

Add Comment

Thinfinity_logo

Get a Demo

Experience how Universal ZTNA with Thinfinity® integrates with VDI and DaaS for unmatched security and flexibility.

Blogs you might be interested in

<span>Developer</span>, <span>Exit URL</span>, <span>Independent software Vendor (ISV)</span>, <span>IT Admin</span>, <span>Secure Application Delivery</span>, <span>Thinfinity VirtualUI</span>, <span>User Experience</span>, <span>Web-Based Applications</span>