ValidateAuthenticationSession method

Checks the validity of a session string. Returns TRUE if the session is valid; FALSE if invalid.

Syntax


C++

HRESULT ValidateAuthenticationSession(
   BSTR SessionCookie,
   VARIANT_BOOL bFreshen,
   VARIANT_BOOL* isValid)

Scripting languages

value = Object.ValidateAuthenticationSession(
   SessionCookie as String,
   bFreshen
as Boolean)

 

Parameters


SessionCookie

The session to be validated.

bFreshen

If TRUE, updates the access time of the session to avoid the time-out.

isValid

If TRUE, the session is still a valid eRoom session. If FALSE, the session is not a valid eRoom session.

Return value


C++

The return code.

Scripting languages

A boolean specifying whether the session is valid.

Home

Applies to

IERUAuthenticator

See also

CreateAuthenticationSession