SoapServer->setPersistence()

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

Descrizione

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().

Elenco dei parametri

mode

One of the SOAP_PERSISTENCE_XXX constants.

Valori restituiti

No value is returned.

Esempi

Esempio 1. Some examples

<?php

$server
->setPersistence(SOAP_PERSISTENCE_SESSION);

$server->setPersistence(SOAP_PERSISTENCE_REQUEST);

?>

Vedere anche:

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

Hosting by: hurra.com
Generated: 2007-01-26 17:56:49