Class TIsapiConn (unit IsapiConn) |
Inherits from
TObject
CONSTRUCTOR Create(ptrECB : POINTER; BufferSize : DWORD);
PROCEDURE ClearSendBuffer;
DESTRUCTOR Destroy;
Set FRecBuffer to ECB.
FUNCTION GetFormVar(VarName : STRING): STRING;
FUNCTION GetQueryVar(VarName : STRING): STRING;
FUNCTION GetServerVar(VarName : STRING): STRING;
Extracts Vars from the Querystring
PROCEDURE HTMLBegin(Title : STRING; BodyBkg : STRING; BodyInit : STRING);
Sends a STRING, with CRLF!--------------------------------------------------------------------------------
PROCEDURE HTMLEnd;
PROCEDURE HTTPSendLocalURL(URL : STRING);
Redirect to an other URL
PROCEDURE HTTPSendResponseHeader;
Redirect to an local URL, must be on the Server -> for example '/mysite/default.
PROCEDURE HTTPSendURLRedirect(URL : STRING);
Resets the Send Buffer --------------------------------------------------------------------------------
PROCEDURE Send(s : STRING);
For debuging purposes
PROCEDURE SendHTMLFile(FileName : STRING);
--- Reads a HTML File and sends it's content ---------------------
PROCEDURE SendPOSTDump;
PROCEDURE SetContentType(CType : STRING);
Read a Text-File that contains HTML-Data (for Header- and Footer-Files
PROCEDURE SetServerLogString(LogMsg : STRING);
--------------------------------------------------------------------------------
FUNCTION URLDecode(s : STRING): STRING;
--- User Functions ----------------------------------------------------} {-----------------------------------------------------------------------
PROCEDURE URLEncode(VAR URLString : STRING; s : STRING; { Encode a String to URLCoding }
SetAmpersand : BOOLEAN);
Decode a String from URLCoding
PROCEDURE AddLine(s : STRING);
Path were the DLL is located locally ex.
PROCEDURE BuildFormVarList;
PROCEDURE BuildQueryVarList;
PROCEDURE SetAppName(Name : STRING);
PROCEDURE SetLocalPath(Path : STRING);
PROCEDURE SetServer(Server : STRING);
property AppName : STRING
Scan String for Special Chars
property Available : DWORD
property ContentLen : DWORD
property ContentType : STRING
property FilterOn : BOOLEAN
Pointer To RecBuffer
property LocalPath : STRING
property Method : WORD
property PathInfo : STRING
property PathTrans : STRING
property QueryString : STRING
property RecBuffer : POINTER
property Result : WORD
property ScriptPath : STRING
property Server : STRING
property Status : TIsapiConnStatus
Sends a Dump of the Data recieved with the POST method; for debuging purpose
FAppName : STRING;
FAvailable : DWORD;
FBuffer : POINTER;
FBufferPos : DWORD;
FBufferSize : DWORD;
Pointer to ECB.
FContentLen : DWORD;
FContentType : STRING;
FECB : IsapiVars.PECB;
FFilterOn : BOOLEAN;
FFormVarList : TStringList;
FLocalPath : STRING;
Path were the DLL is located ex.
FMethod : WORD;
FPathInfo : STRING;
FPathTrans : STRING;
FQueryString : STRING;
FQueryVarList : TStringList;
FRecBuffer : POINTER;
Pointer to SendBuffer
FResponseBuffer : ARRAY[0..255] OF CHAR;
FResult : WORD;
FScriptPath : STRING;
Name of the Server: you put "www.
FSendBuffer : BOOLEAN;
FServer : STRING;
Name of the DLL ex.
FStatus : TIsapiConnStatus;
Position in the SendBuffer
rhContentType : STRING;
CONSTRUCTOR Create(ptrECB : POINTER; BufferSize : DWORD);
PROCEDURE ClearSendBuffer;
DESTRUCTOR Destroy;
Set FRecBuffer to ECB.lpbData
FUNCTION GetFormVar(VarName : STRING): STRING;
FUNCTION GetQueryVar(VarName : STRING): STRING;
FUNCTION GetServerVar(VarName : STRING): STRING;
Extracts Vars from the Querystring
PROCEDURE HTMLBegin(Title : STRING; BodyBkg : STRING; BodyInit : STRING);
Sends a STRING, with CRLF!
--------------------------------------------------------------------------------
PROCEDURE HTMLEnd;
PROCEDURE HTTPSendLocalURL(URL : STRING);
Redirect to an other URL
PROCEDURE HTTPSendResponseHeader;
Redirect to an local URL, must be on the Server -> for example '/mysite/default.htm'
PROCEDURE HTTPSendURLRedirect(URL : STRING);
Resets the Send Buffer
--------------------------------------------------------------------------------
PROCEDURE Send(s : STRING);
For debuging purposes
PROCEDURE SendHTMLFile(FileName : STRING);
--- Reads a HTML File and sends it's content ---------------------
PROCEDURE SendPOSTDump;
PROCEDURE SetContentType(CType : STRING);
Read a Text-File that contains HTML-Data (for Header- and Footer-Files
PROCEDURE SetServerLogString(LogMsg : STRING);
--------------------------------------------------------------------------------
FUNCTION URLDecode(s : STRING): STRING;
--- User Functions ----------------------------------------------------} {-----------------------------------------------------------------------
PROCEDURE URLEncode(VAR URLString : STRING; s : STRING; { Encode a String to URLCoding }
SetAmpersand : BOOLEAN);
Decode a String from URLCoding
PROCEDURE AddLine(s : STRING);
Path were the DLL is located locally ex. "C:\IISERVER\SCRIPTS\"
PROCEDURE BuildFormVarList;
PROCEDURE BuildQueryVarList;
PROCEDURE SetAppName(Name : STRING);
PROCEDURE SetLocalPath(Path : STRING);
PROCEDURE SetServer(Server : STRING);
property AppName : STRING
Scan String for Special Chars
property Available : DWORD
property ContentLen : DWORD
property ContentType : STRING
property FilterOn : BOOLEAN
Pointer To RecBuffer
property LocalPath : STRING
property Method : WORD
property PathInfo : STRING
property PathTrans : STRING
property QueryString : STRING
property RecBuffer : POINTER
property Result : WORD
property ScriptPath : STRING
property Server : STRING
property Status : TIsapiConnStatus
Sends a Dump of the Data recieved with the POST method; for debuging purpose
FAppName : STRING;
FAvailable : DWORD;
FBuffer : POINTER;
FBufferPos : DWORD;
FBufferSize : DWORD;
Pointer to ECB.lpbData
FContentLen : DWORD;
FContentType : STRING;
FECB : IsapiVars.PECB;
FFilterOn : BOOLEAN;
FFormVarList : TStringList;
FLocalPath : STRING;
Path were the DLL is located ex. "scripts/artikel/" , can be combined with FServer to a URL
FMethod : WORD;
FPathInfo : STRING;
FPathTrans : STRING;
FQueryString : STRING;
FQueryVarList : TStringList;
FRecBuffer : POINTER;
Pointer to SendBuffer
FResponseBuffer : ARRAY[0..255] OF CHAR;
FResult : WORD;
FScriptPath : STRING;
Name of the Server: you put "www.iag.ch" and recieve "http://www.iag.ch/
FSendBuffer : BOOLEAN;
FServer : STRING;
Name of the DLL ex. "DBARTIKEL.DLL"
FStatus : TIsapiConnStatus;
Position in the SendBuffer
rhContentType : STRING;