|
Posted by Ismail Demiralp on 10/22/39 11:46
Hi,
I want to open a permanent socket connection to a service witch is running
on the same computer.
After I logged in on my php page, I start a session. After this a socket
connection should be opened to a service
I get data from. Now my problem is I want open only once a socket connection
to the service and after this I want use on
all php pages this connection. How can I transmit (or use) this one
connection on all pages ?
I opened the socket connection like this:
$fp = pfsockopen ($url, 1006, $errno, $errstr, 10);
This code snippet is running correctly, but on the next php page I can't use
this connection.
Thanx for Help
[Back to original message]
|