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( $host, $port)

start the server
  • Access: public

Parameters:

   $host   — 
   $port   — 

[ Top ]


Documentation generated on Wed, 09 Dec 2015 22:18:59 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.