Hi i am creating a social networking site for my college. It is based on PHP. To create websocket connection to retrieve notifications and set up chat system using node.js with connect and socket.io frameworks.
I started a socket connection on one page which i want to resume the same connection with same id on other pages served by web server.
And destroy the socket on logout and like with session in PHP.