An ISAPI project to show frames

This article describes an ISAPI project to send a page containing two frames to the browser.

The ISAM generates a page that contains a FRAMESET tag with the SRC fields pointing to the ISAM itself with GetFrame commands (see the html source for the dinamically generated page).

The full source code for the ISAM is provided, you will have to compile it in order to get a working site. Before compiling you will have to change a constant in the code: the module location. This constant is found in the isam.cpp file. Once you have compiled the project with correct site location you will need to take the following steps to install:

  • Create a directory under your http server root for the project
  • Copy the isam.dll file to this directory
  • Create a virtual directory in your http server to access the dll (remember to grant execute rights). The name of the directory must be the same you set in the project

Download Source Code


Last updated: 10 June 1998



Comments

  • ISAPI database

    Posted by Legacy on 02/12/2003 12:00am

    Originally posted by: anjali

    examples for isapi programming using database detail to store in database and retreiving data....

    Reply
  • Invoking an ISAPI extension programmatically

    Posted by Legacy on 04/17/2002 12:00am

    Originally posted by: Edwin

    I am having problem invoking my ISAPI extension programmatically.

    my code is something like this:

    static char formAction[] = "http://graphics:8081/tzTalk/tzTalk.dll";

    static char hdrs[]
    = "Content-Type: application/x-www-form-urlencoded"

    static Accept[] = "Accept: */*"

    hRequest = HttpOpenRequest( hConnect,
    "GET", formAction, NULL,
    NULL,
    accept,
    0,
    1 );

    HttpSendRequest( hRequest,
    hdrs,
    (DWORD)strlen(hdrs),
    NULL,
    0 );


    In the above code the HTTP Server running on IIS 5.0 returns :

    HTTP 404 - File not found

    BUT when I use a brower having these htm code below, It successfully invoke my ISAPI extension...

    <html>
    <title>eJobs</title>
    <h1>tzTalk ISAPI Extension</h1>
    <body>
    <hr>
    <b><i>"Hello how are you today?"</i></b><p>
    <p>
    <hr>
    <p>
    <FORM action="/tzTalk/tzTalk.dll" method="get">
    <P>
    Enter Input Data: <INPUT NAME="input_value" VALUE="" >
    <INPUT TYPE="SUBMIT" VALUE="Invoke"> <INPUT TYPE="RESET">
    </FORM>
    <hr>
    </body>
    </html>


    Can you help me on this? How can I invoke my ISAPI extension pogrammatically? Your help is very much appreciated.

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • IBM Worklight is a mobile application development platform that lets you extend your business to mobile devices. It is designed to provide an open, comprehensive platform to build, run and manage HTML5, hybrid and native mobile apps.

  • The proliferation of cloud computing options has begun to change the way storage is thought about, procured, and used. IT managers and departments need to think through how cloud options might fit into and complement their onsite data infrastructures. This white paper explains cloud storage and backup, providing advice about the tools and best practices for its implementation and use. Read this white paper for some useful takeaways about how to take advantage of cloud storage for high availability, backup and …

Most Popular Programming Stories

More for Developers

RSS Feeds