Rob Schoenaker - 17 - Mar 26, 2015

Just been working for 5 days to get Server Sent Events working.We had a ‘minor’ issue with $.ajaxSetup.Please put this in the docs, OR fix it in the SS code: < br > < br > < br > & nbsp; & nbsp; $.ajaxSetup({ < br > & nbsp; & nbsp; & nbsp; async: true, < br > & nbsp; & nbsp; & nbsp; dataType: ‘json’, < br > & nbsp; & nbsp; }); < br > < br > We did this to be able to make json requests to our backend, without the need to explicitely define all calls as a json request. < br > However, this breaks SSE completely: a heartbeat results in a reconnect with a new session ID.