note 56250 added to function.soap-soapserver-setpersistence

From: Date: Sun, 28 Aug 2005 19:07:59 +0000
Subject: note 56250 added to function.soap-soapserver-setpersistence
Groups: php.notes 
Request: Send a blank email to php-notes+get-94306@lists.php.net to get a copy of this message
I had some issues getting session persistence (SOAP_PERSISTENCE_SESSION) to work. I finally got it working after setting session.auto_start=0, and then only calling session_start() in the script containing the SoapServer. Maybe this is obvious, but took me a bit to figure it out. I only tried it with session.use_cookies=1, so if the settings above don't work for you, make sure cookies are enabled, though it may work without the need for cookies. ---- Manual Page -- http://www.php.net/manual/en/function.soap-soapserver-setpersistence.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+56250 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56250&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56250&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56250&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56250&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56250&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56250&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+56250&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#94306) next »