Login   Register  
PHP Classes
elePHPant
Icontem

File: sharedance.session.test.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Robert Young  >  PHPDance  >  sharedance.session.test.php  >  Download  
File: sharedance.session.test.php
Role: Example script
Content type: text/plain
Description: Example usage of the session handler
Class: PHPDance
Access Sharedance distributed cache servers
Author: By
Last change:
Date: 7 years ago
Size: 288 bytes
 

Contents

Class file image Download
<?php
require 'sharedance.session.class.php';

$session =& new SharedanceSessiontrue );
$session->addServer( new SharedanceServer'127.0.0.1'8989 ) );
$session->addServer( new SharedanceServer'127.0.0.1'8990 ) );
$session->addServer( new SharedanceServer'127.0.0.1'8991 ) );