PHP Manualen
forrige |  | næste

# SoapServer->setPersistence()

(no version information, might be only in CVS)

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

## Beskrivelse

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

## Parameterliste

mode

  One of the SOAP_PERSISTENCE_XXX constants.

## Returneringsværdier

Ingen værdi er returneret.

## Eksempler

Eksempel 1. Some examples

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

## Se også

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

forrige | hjem | næste
SoapServer->setClass() | op | SoapVar->__construct()