Unit IsapiConn

#######################################################################################} {# #} {# TIsapiConn V1.06.00 (c) 1997 Ivan Magrini (Last modification Apr1998) #} {# #} {# TIsapiConn is a small Unit that allows to recieve and send Data trough the #} {# ISAPI interface to IIS from Microsoft. #} {# #} {# This Unit is usefull for small ISAPI Applications with or without Database #} {# Connectivity. #} {# #} {# Not all features are implemented yet, but you can add other features without #} {# problems, for further information read the Doc's. #} {# #} {# For bugs and sugestions mail me at imagrini@iag.ch #} {# #} {# This unit is released to PD, you are free to use it as you like #} {# #} {# Please do not remove this Header! #} {# #} {#######################################################################################

Classes

TIsapiConn -

Functions

ASCIIToHTML - --- Component Functions -----------------------------------------------} {-----------------------------------------------------------------------

Types

TIsapiConnStatus

Constants

GET
MaxReqBufferSize
POST
svAllHTTP
svAuthType
svContentLen
svContentType
svHTTPAccept
svHTTPConnection
svHTTPContentLen
svHTTPContentType
svHTTPHost
svHTTPReferer
svPathInfo
svPathTrans
svQueryString
svRemoteAddr
svRemoteHost
svRemoteUser
svReqMethod
svScriptName
svServerName
svServerPort
svServerPortSec
svServerProtocol
svServerSoftware
svUnMappedUser
svURL
uAmpersand
uNoAmpersand

Variables


Functions


FUNCTION ASCIIToHTML(s : STRING): STRING;

--- Component Functions -----------------------------------------------} {-----------------------------------------------------------------------

Types


TIsapiConnStatus = (eOk, eNoMem);

Constants

GET = 0

First 48K Data recieved in ECB.lpbData

MaxReqBufferSize = 49152

POST = 1

Const to use in a "CASE Methode OF" clause

svAllHTTP = 'ALL_HTTP'

svAuthType = 'AUTH_TYPE'

svContentLen = 'CONTENT_LENGTH'

Var Definition for "GetServerVar"

svContentType = 'CONTENT_TYPE'

Contained in ECB

svHTTPAccept = 'HTTP_ACCEPT'

svHTTPConnection = 'HTTP_CONNECTION'

svHTTPContentLen = 'HTTP_CONTENT_LENGTH'

svHTTPContentType = 'HTTP_CONTENT_TYPE'

svHTTPHost = 'HTTP_HOST'

svHTTPReferer = 'HTTP_REFERER'

svPathInfo = 'PATH_INFO'

Contained in ECB

svPathTrans = 'PATH_TRANSLATED'

Contained in ECB

svQueryString = 'QUERY_STRING'

Contained in ECB

svRemoteAddr = 'REMOTE_ADDR'

Contained in ECB

svRemoteHost = 'REMOTE_HOST'

svRemoteUser = 'REMOTE_USER'

svReqMethod = 'REQUEST_METHOD'

svScriptName = 'SCRIPT_NAME'

Contained in ECB

svServerName = 'SERVER_NAME'

svServerPort = 'SERVER_PORT'

svServerPortSec = 'SERVER_PORT_SECURE'

svServerProtocol = 'SERVER_PROTOCOL'

svServerSoftware = 'SERVER_SOFTWARE'

svUnMappedUser = 'UNMAPPED_REMOTE_USER'

svURL = 'URL'

uAmpersand = TRUE

uNoAmpersand = FALSE


Variables