TwistPHP Documentation

validateCode

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

validateCodeValidate a remember me session code

Parameters

Name Type Description
$strSessionKeystringn/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';
$blUpdateKey true;

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