Posted by fufik on 09/26/05 15:29
Hi,
I'm trying to connect to an application server using sockets.
Everything is fine with a small exception. I would like to store socket
in session, so that I wouldn't have to reconnect at every request.
I open socket using (PHP5): stream_socket_client.
Then I try to: $_SESSION["socket"] = $newSocket.
With every new request the $_SESSION["socket"] is 0.
Anyone got any idea how to solve it?
Navigation:
[Reply to this message]
|