JegasAPI - Jegas, LLC - Copyright(c)2016

Unit uj_custom

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

 

Overview

Functions and Procedures

function bJAS_CreateSession_Custom_Hook(p_Context: TCONTEXT; p_Result: boolean):boolean;
function bJAS_ValidateSession_Custom_Hook(p_Context: TCONTEXT; p_Result: boolean): boolean;
Function bJAS_RemoveSession_Custom_Hook(p_Context: TCONTEXT; p_Result: boolean):Boolean;
function bJAS_PurgeConnection_Custom_Hook(p_Context: TCONTEXT; p_JSess_JSession_UID: ansistring):boolean;

Description

Functions and Procedures

function bJAS_CreateSession_Custom_Hook(p_Context: TCONTEXT; p_Result: boolean):boolean;

This function is called AFTER the internals of the bJAS_CreateSession function are completed. This hook is then called with TCONTEXT and the result of the bJAS_CreateSession that is about to be returned to the caller. Coding to this hook allows putting custom code into the JAS API directly without creating circular references which would occur if we tried to put this sort of code into the regular user_customization source files.

function bJAS_ValidateSession_Custom_Hook(p_Context: TCONTEXT; p_Result: boolean): boolean;

This function is called AFTER the internals of the bJAS_ValidateSession function are completed. This hook is then called with TCONTEXT and the result of the bJAS_ValidateSession that is about to be returned to the caller. Coding to this hook allows putting custom code into the JAS API directly without creating circular references which would occur if we tried to put this sort of code into the regular user_customization source files.

Function bJAS_RemoveSession_Custom_Hook(p_Context: TCONTEXT; p_Result: boolean):Boolean;

This function is called AFTER the internals of the bJAS_RemoveSession function are completed. This hook is then called with TCONTEXT and the result of the bJAS_RemoveSession that is about to be returned to the caller. Coding to this hook allows putting custom code into the JAS API directly without creating circular references which would occur if we tried to put this sort of code into the regular user_customization source files.

function bJAS_PurgeConnection_Custom_Hook(p_Context: TCONTEXT; p_JSess_JSession_UID: ansistring):boolean;

This function is called DURING the bJAS_PurgeConnections call EACH TIME a Session (jsession table record) is slated to be removed. This hook is then called with TCONTEXT and the UID of the jsession record about to get destroyed. Coding to this hook allows putting custom code into the JAS API directly without creating circular references which would occur if we tried to put this sort of code into the regular user_customization source files.

http://www.jegas.com
Generated by PasDoc 0.14.0.