SoapServer->setPersistence()

SoapServer->setPersistence() --  Sets persistence mode of SoapServer

Opis

class SoapServer {

void setPersistence ( int mode )

}

This function allows saving data between requests in a PHP session. It works only with a server that exports functions from a class with SoapServer->setClass().

Parametry

mode

One of the SOAP_PERSISTENCE_XXX constants.

Zwracane wartości

Żadna wartość nie jest zwracana.

Przykłady

Przykład 1. Some examples

<?php

$server
->setPersistence(SOAP_PERSISTENCE_SESSION);

$server->setPersistence(SOAP_PERSISTENCE_REQUEST);

?>

Patrz także

SoapServer->__construct()
SoapServer->setClass()

Hosting by: Hurra Communications Sp. z o.o.
Generated: 2007-01-26 18:02:54