Skip to content

ValidateSession - cWebSessionManager

User hook to validate the passed session key

Type: Function
Return Data Type: Boolean

Parameters

Parameter Type Description
sSessionKey String The session key passed from the client. This should be the same key generated by CreateSession.

Syntax

Function ValidateSession String sSessionKey Returns Boolean

Call Example

Get ValidateSession sSessionKey to BooleanVariable

Description

User hook to validate the passed session key.

This will be called for each and every AJAX call from the client. If False then the AJAX call is not completed.

Return Value

True if the session key is valid and the AJAX call can continue.