Goal

Dedicated sessions are used to route certain users to assigned information or other resources, such as a specific printer required by a host application. A Presentation Builder application can provide information about who is running it (by making user name and IP Address variables available globally), and configure its host connection to use a resource dedicated to that user or IP address.

This How-To fits into step 3 of How to Provide Host Access IDs to Clients, by creating an application that obtains its ID from MCS.

Method

This How-To describes the way to pass a user name or IP address to the ID Management service of MCS and receive a TNE Resource Name to configure the host connection for that custom application.

Note Even if you aren't using MCS to get your dedicated resources, this How-To may be helpful to you. It will demonstrate passing client information at run time to an external service, and receiving input that can be used to configure a host session — all associated with one event handler. This How-To uses the Start-up event handler, but you could also use an onClick event assigned to a button.

Before You Start

This How-To assumes that you have installed Presentation Designer and have access to an MCS server that has Presentation Manager installed. You may have Presentation Builder Runtime Service installed on your MCS server or on another server. Start with your project open in Presentation Designer. Your project must include at least one host connection.

Steps

Following are the main steps you need to complete for this How-To:

  1. Edit the Application Startup event handler.

  2. Add an ID Management action.

  3. Configure the host session with the new resource name returned from MCS.

  Attachmate