Is it possible to create a persistent HTTP connection using Javascript?
I would like to create a simple script that open a persistent HTTP connection to my server and print the result on a <div>
. The server send string each one second so I don't want to open the connection every second...I prefer ONE connection and print the values when are available. Is it possible?
Thanks