in reply to Re^4: Creating Socket Connections that are persistent across multiple page loads in a single web session
in thread Creating Socket Connections that are persistent across multiple page loads in a single web session
Yes. You cannot serialize sockets. So you need a persistent program on your server that keeps the socket open. That persistent program gives the client ("web browser") a token ("a session id", "a cookie") that associates the socket with the client. When some client connects again to your server process and presents the appropriate token, you know which connection to reuse.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Creating Socket Connections that are persistent across multiple page loads in a single web session
by unlinker (Monk) on Jan 05, 2011 at 09:57 UTC | |
by gman (Friar) on Jan 05, 2011 at 12:08 UTC | |
by unlinker (Monk) on Jan 05, 2011 at 13:51 UTC | |
by gman (Friar) on Jan 05, 2011 at 17:16 UTC |