07-12-2019, 03:38 PM
My mistake. I'm focused on 17. 17 can persist objects as you wish.
14/15 reload the whole page when pages change. Other than using a frame which would be a bit messy, I can't see a way to persist a JS object. You'll have to reconnect it each time I think if you change pages.
If you are only making updates to a page, you can use AJAX updates which will preserve your websocket object.
14/15 reload the whole page when pages change. Other than using a frame which would be a bit messy, I can't see a way to persist a JS object. You'll have to reconnect it each time I think if you change pages.
If you are only making updates to a page, you can use AJAX updates which will preserve your websocket object.