Manual do PHP
Anterior |  | Próxima

# SoapServer::setPersistence

(no version information, might be only in CVS)

SoapServer::setPersistence -- Sets persistence mode of SoapServer

## Description

void SoapServer::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().

Exemplo 1. Some examples

`<?php $server->setPersistence(SOAP_PERSISTENCE_SESSION); $server->setPersistence(SOAP_PERSISTENCE_REQUEST); ?>`

See also SoapServer::SoapServer(), and SoapServer::SetClass().

Anterior | Principal | Próxima
SoapServer::setClass | Acima | SoapVar::SoapVar