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).
The ID's below should be the same after this page is reloaded:
A full fledged reload example is available in the jQuery chat example.
Previous ID: Current ID: Advice: