Thinfinity: Windows to web solutions.

How to share an RDP session with Thinfinity Remote Desktop

How to share an RDP session with Thinfinity Remote Desktop

You can use Thinfinity Remote Desktop Server to follow up the progress of your students by sharing their RDP session

Lots of our clients have training applications and use Thinfinity Remote Desktop to provide remote access to the Virtual classrooms.
Some time ago we wrote a couple of tips on how to share your RDP session with another user by taking advantage of the “Share session” feature of Thinfinity Remote Desktop.
The Share Session URL feature can help you build an interactive classroom so you can check on your student progress or you can simply monitor user’s sessions.
In this second article, we’ll teach you how to programmatically retrieve a Shared Session URL using JavaScript (currently available only for One Time URL sessions).
Using this feature you’ll be able to take control of the shared RDP session of a student or simply shadow sessions to follow up the progress.
In order for the Shared Session URL to work you need to download a new ssurl.js JavaScript file. You can download it here.
(Inside this zip file you’ll also find the code example detailed below).
share an RDP session

Now let’s get started:

First, you need to get the Gateway Access Key, like this:

    function getGAK() {
        getGatewayAccessKey(null, oturl.key, oturl.pass,
            function(gak) {
                oturl.gak = gak;
                document.getElementById('gak').value = gak;
            },
            function(msg) {
                alert(msg);
            })
    }
Secondly, you can create the Sharing Session URL, like this:
    function createSSUrl() {
        createSharedSession(null,oturl.gak,oturl.key,oturl.pass,document.getElementById('viewonly').checked,
            function (url) {
                var surl = location.protocol + '//' + location.host;
                document.getElementById('ssn').href = surl + url;
                document.getElementById('ssn').innerText = document.getElementById('ssn').href;
            },
            function (msg) {
                alert(msg);
            })
    }

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>Digital Workspaces</span>, <span>IT Admin</span>, <span>RDC</span>, <span>RDP</span>, <span>Remote Desktop</span>, <span>Thinfinity Workspace</span>, <span>User Experience</span>, <span>Web Screen Sharing</span>