Manuale PHP
Indietro |  | Avanti

# SoapServer->setPersistence()

(no version information, might be only in CVS)

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

Indietro | Partenza | Avanti
SoapServer->setClass() | Risali | SoapVar->__construct()