Re:Javascript, locking and sound
by kybernetikos on Saturday July 25, 2015 @07:06PM
(#9949387)
I used to have this same problem with cookies way back in the day.
If you had a number of windows that all needed to communciate with the streaming server, and share a session, and you closed the master, one of the others would have to take over the connection. We used cookies in a similar way to local storage is used in this story. Ugly ugly code.
These days of course, I'd want to use service workers.
If you had a number of windows that all needed to communciate with the streaming server, and share a session, and you closed the master, one of the others would have to take over the connection. We used cookies in a similar way to local storage is used in this story. Ugly ugly code.
These days of course, I'd want to use service workers.