A way to share the return value of fsockopen() between multiple pages?
Posted
by Chilln
on Stack Overflow
See other posts from Stack Overflow
or by Chilln
Published on 2010-04-25T10:20:10Z
Indexed on
2010/04/25
10:23 UTC
Read the original article
Hit count: 187
Hey, im using a connection to a server in my php script, opened with fsockopen() and i want it to share between different pages so i serialized it and saved it in a session variable but it seems that that ia a bad idea because when i do this nothing happens... Not even an error. The problem is that this connection requires a handshake so i cant reconnect everytime
Another question, whats the timeout of fsockopen or does the connection stay alive if the. original php script which called it is closed?
© Stack Overflow or respective owner