TwistPHP Documentation

wipeSession

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

wipeSessionDelete all session data for this key

Parameters

Name Type Description
$strDevicestringn/a
$strHashstringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strDevice 'foo';
$strHash 'foo';

//Call the function wipeSession with the example vars
$resSessionHandler = new \Twist\Core\Models\User\SessionHandler();
$resSessionHandler -> wipeSession($strDevice$strHash);