PHP5 SoapClient in Session.
| From: | spongebobusa | Date: | Tue, 14 Feb 2006 19:49:08 +0000 |
| Subject: | PHP5 SoapClient in Session. | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-2127@lists.php.net to get a copy of this message | ||
I am seeing some weirdness after setting the SoapClient in the session and
then redirecting to another page.
$_SESSION['soapclient'] = $mysoapclient
On the second page, I retrieve the SoapClient from the session, but as soon
as I access a method on the SoapClient, I get this error.
$myclient = $_SESSION['soapclient'];
"Warning: SoapClient::__call(): supplied argument is not a valid sdl
resource in welcome.php on line 18
There was a problem with your login: Error finding "uri" property"
I wonder whether the redirect using header("Location: welcome.php") is
causing the problem. I am using PHP 5.1.2.
Any help is appreciated.
--
View this message in context: http://www.nabble.com/PHP5-SoapClient-in-Session.-t1122938.html#a2937829
Sent from the Php - Soap forum at Nabble.com.