TwistPHP Documentation

SessionHandler

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

Type: Model

SessionHandler

Example Usage

<?php
//Set the variables for the example
$intUserID 124;

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

Method List

Method Access Returns
setDeviceLifepublicvoid
setSessionLifepublicvoid
createDeviceIDprotectedvoid
getDeviceIDpublicvoid
deleteDeviceIDpublicvoid
getDeviceListpublicvoid
getCurrentDevicepublicvoid
editDevicepublicvoid
forgetDevicepublicvoid
forgetpublicvoid
notificationspublicvoid
rememberedpublicvoid
createCookiepublicvoid
createCodepublicvoid
validateCookiepublicvoid
validateCodepublicvoid
debugpublicvoid
validateSessionKeyprotectedvoid
createSessionKeyprotectedvoid
updateSessionprotectedvoid
wipeSessionprotectedvoid