getSessionRef

Return array of session containing a specific reference.

Parameters

getSessionRef($ref)
$ref:Value of the reference to search for.

Example

In this example all the sessions containing the value ‘3’, will returned.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
<?php

require_once 'dalmp.php';

$cache= new DALMP\Cache\Memcache('127.0.0.1', 11211, 1, 1);

$handler = new DALMP\Sessions\Memcache($cache, 'ID');

$sessions = new DALMP\Sessions($handler, 'sha512');

$sessions->getSessionRef('3');

Thanks Navicat for supporting Open Source projects.

Navicat



A great amount of time has been spent creating, crafting and maintaining this software, please consider donating.

Donating helps ensure continued support, development and availability.

dalmp


comments powered by Disqus