Приглашаем посетить
Спорт (sport.niv.ru)

SoapServer->setPersistence()

setClass()" HREF="/php/007/function.soap-soapserver-setclass.html">__construct()" HREF="/php/007/function.soap-soapvar-construct.html">

SoapServer->setPersistence()

(no version information, might be only in CVS)

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

Описание

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

Список параметров

mode

One of the SOAP_PERSISTENCE_XXX constants.

Возвращаемые значения

Эта функция не возвращает значения после выполнения.

Примеры

Пример 1. Some examples

<?php

$server
->setPersistence(SOAP_PERSISTENCE_SESSION);

$server->setPersistence(SOAP_PERSISTENCE_REQUEST);

?>