ValidateSession - cWebSessionManager

User hook to validate the passed session key

Type: Function

Return Data Type: Boolean

Parameters: String sSessionKey

ParameterDescription
sSessionKeyThe session key passed from the client. This should be the same key generated by CreateSession.


Return Value

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


Syntax
Function ValidateSession String sSessionKey Returns Boolean

Call: 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.