Multiple OutsideViewWEB Sessions from a Single Page

Technical Note

The Deployment Director of OutsideViewWEB allows easy definition of web pages that will each start a single session. Through simple cut and paste editing of the HTML files, web pages can be created that will start multiple sessions that can connect to different hosts or be of different emulation types. This technical note explains how to create a web page that will automatically open multiple sessions.

Step One: Create and Configure the OutsideViewWEB Sessions

Using the Deployment Director, create and configure the OutsideViewWEB sessions that you want to include in your web page. These sessions can target different hosts and may be of various emulation types. The security and browser settings must, however, be identical for all sessions you create. Be sure to save a web page for each session using the Save Web Page button on the Web Page tab.

Step Two: Add Sessions to a Single Web Page

Open one of the web pages you created in a text editor or HTML editor. The HTML code should resemble the example below:

<HTML>

<HEAD><TITLE>K1000AtCP</TITLE></HEAD>

<BODY>

<H3>K1000AtCP</H3>

<P ALIGN="CENTER">

<!-- Applet code generated by the Crystal Point Terminal Deployment Director 1.0.Ship.54.251 -->

<!-- Do not deploy this 168-bit Triple DES encryption session to users in countries

with U.S. export or re-export restrictions, without appropriate U.S. Government

approvals. 56-bit DES encryption is available for most users in most countries. -->

<!-- The following session information is represented in this web page:

Session Name: K1000AtCP

Selected Browsers:

Microsoft Internet Explorer--Windows platform

Netscape Navigator/Communicator--Windows platform

Session and Configuration Information:

Emulation: NonStop 6530

Model: 6530

Host URL: tn6530://K1000:1047

Service: TACL

Configuration file: K1000AtCP.config

Encryption: None

Applet Metering Information:

Enable metering: false

Applet Display Information:

Display in a new window: false

Applet width: 600

Applet height: 480

End of summary session information -->

<applet name="K1000AtCP" code="com.crystalpoint.ovweb.TANApplet.class"

codeBase="../ex/" width="600" height="480" archive="OvWebTAN.jar">

<param name="cabbase" value="OvWebTAN.cab">

<param name="configuration" value="K1000AtCP.config">

<param name="menuType" value="intermediate">

<param name="shortcutMenu" value="true">

</applet>

<!-- End of Crystal Point Deployment Director generated applet code -->

</BODY>

</HTML>

To produce a web page that is easy to interpret and maintain it is a good idea to include the comments within the automatically generated code. Select the code and comments for the OutsideViewWEB session, beginning with:

<!-- Applet code generated by the Crystal Point Terminal Deployment Director 1.0.Ship.54.251 -->

and continuing through:

<!-- End of Crystal Point Deployment Director generated applet code -->

 

Note: The Deployment Director version number will vary depending on your version of OutsideViewWEB.

Copy the selected code using the Copy command in your text or HTML editor. Using the same text or HTML editor, open the web page that will contain the multiple sessions. Paste the copied applet code into the existing HTML code, taking care not to interrupt the flow of existing HTML elements. (If you are not sure where to insert the applet code, paste it just above the </BODY> closing tag.)

You may want to customize the page somewhat by adding headings, horizontal rules, or some line breaks between the two sessions.

When you have finished your edits, save your changes.

Step Three: Test the Web Page in a Browser

Use the File Upload tool in the Deployment Director to transfer your web page and all of your configuration files to your web server. (If your web server does not support FTP, you may alternately be able to copy the files to your web server.)

From your web server, open the web page with the multiple sessions in a browser window. Be sure to open web page using the same browser type you selected on the Deployment Director's Browser tab. The web page will launch all OutsideViewWEB sessions simultaneously.

Examples and Variations

This section points to examples in the Administrative WebStation and describes various techniques you can use when creating a web page with multiple OutsideViewWEB sessions.

Combine sessions with different emulation types

The Administrative WebStation contains sample HTML code for a web page that launches an IBM 3270 emulation session and a VT emulation session in a single web page. You can copy this sample code to a text or HTML editor and modify it for your environment.

To view the example:

Click HTML Samples from the Advanced section of the Administrative WebStation.

Click the link to the index of code samples.

Scroll down, and then select the link "Running Two Terminal Sessions Embedded in the Same Page."

 

This web page explains how to modify the sample HTML code for your own use.

Launch each session in a separate browser window

In the WebStation example described above, both OutsideViewWEB sessions are embedded in the web page. However, you also can launch multiple OutsideViewWEB sessions in separate browser windows.

To do this, select the "Display session in its own window" check box on the Applet tab in the Deployment Director when you create your OutsideViewWEB sessions in Step One above.

The Administrative WebStation also provides sample HTML code for a web page that launches two sessions in separate browser windows.

To view the example:

Click HTML Samples from the Advanced section of the Administrative WebStation.

Click the link to the index of code samples.

Scroll down, and then select the link "Starting Two Terminal Sessions in Their Own Windows."

 

This web page explains how to modify the sample HTML code for your own use.