1getSessionRef 2============= 3 4Return array of session containing a specific reference. 5 6Parameters 7.......... 8 9 getSessionRef($ref) 10 11:$ref: Value of the reference to search for. 12 13 14Example 15....... 16 17In this example all the sessions containing the value '3', will returned. 18 19.. code-block:: php 20 :linenos: 21 :emphasize-lines: 11 22 23 <?php 24 25 require_once 'dalmp.php'; 26 27 $cache= new DALMP\Cache\Memcache('127.0.0.1', 11211, 1, 1); 28 29 $handler = new DALMP\Sessions\Memcache($cache, 'ID'); 30 31 $sessions = new DALMP\Sessions($handler, 'sha512'); 32 33 $sessions->getSessionRef('3'); 34