Jolt 1.2 Developer's Guide

field of the form.
Processing the Request
When the Web server receives the TRANSFER request, it runs the program tlr.asp. Client
requests are turned into a Request object in the Web server. This Request object has members
containing all the data that was input into the form along with other form data, such as hidden
fields, and so on. The Web server makes the Request object available to the program being
invoked.
The program tlr.asp contains only VBScript. The first action performed by this program verifies
that the Jolt Session Pool Manager is initialized. The following code example performs the
initialization check and returns an HTML error page if the pool is not initialized.
<%
If Not IsObject(Application("mgr")) Then
%>
<HTML>
<HEAD><TITLE>Error</TITLE></HEAD>
<BODY><CENTER>
<H2>Session Manager is not initialized</H2>
<P>Make sure that you access the correct HTML
</CENTER></BODY>
</HTML>
<%
End If
%>
If the session pool is initialized, the program continues to process the request. The program
locates a Session from the Session Pool Manager as shown in the following example.
Set pool = Application("mgr").getSessionPool(Null)
Once a valid session is located, the program retrieves an HTML template that is used to return the
results to the client. In this example, these templates were cached in the initialization section. The
template retrieved is identified by the name of the service being invoked, Request("SVCNAME")
is shown in the following example.