TwistPHP Documentation

validateSessionKey

File path: dist/twist/Core/Models/User/SessionHandler.model.php
Namespace: Twist\Core\Models\User
Extends:

validateSessionKey

Parameters

Name Type Description
$strSessionKeystringn/a
[$blRemember = false]booleann/a
[$blUpdateKey = true]booleann/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strSessionKey 'foo';
$blRemember false;
$blUpdateKey true;

//Call the function validateSessionKey with the example vars
$resSessionHandler = new \Twist\Core\Models\User\SessionHandler();
$resSessionHandler -> validateSessionKey($strSessionKey$blRemember$blUpdateKey);