HTTP_SessionServer
[ class tree: HTTP_SessionServer ] [ index: HTTP_SessionServer ] [ all elements ]

Class: HTTP_SessionServer

Source Location: /HTTP_SessionServer-0.5.0/SessionServer.php

Class Overview


Session Server class


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 55]
Session Server class

This is a simple server, that stores session data.

It helps you doing several things:

  • share session data among different servers
  • share session data among different applications
  • share session data among different programming languages



[ Top ]


Method Detail

HTTP_SessionServer (Constructor)   [line 97]

HTTP_SessionServer HTTP_SessionServer( string $storage, [array $options = array()])

constructor
  • Access: public

Parameters:

string   $storage     storage container
array   $options     parameters for the storage container

[ Top ]

onReceiveData   [line 136]

boolean onReceiveData( int $clientId, string $data)

recieve data from the client
  • Access: public

Parameters:

int   $clientId     client id
string   $data     data

[ Top ]

service   [line 107]

void service( mixed $host, mixed $port)

start the server
  • Access: public

[ Top ]


Documentation generated on Tue, 07 Feb 2006 14:03:10 -0500 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.