PHP Classes

File: sharedance.session.test.php

Recommend this page to a friend!
  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: 17 years ago
Size: 288 bytes
 

Contents

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

$session =& new SharedanceSession( true );
$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 ) );