This test shows how a page can be loaded and resume a CometD connection with the same client ID. This allows site navigation and page loads to be done without needing to reestablish an entire CometD session on the server (the client still needs to resubscribe so that it can define local callbacks in the newly loaded page).
RELOAD, DOJO, JQUERY
The ID's below should be the same after this page is reloaded:
Previous ID: {{previous}} Current ID: {{current}} Advice: {{advice}}
A full fledged reload example is available in the Angular Chat Demo.