Simple multipage mashup solution using Local storage
I thought I'd share an idea I had for mashups with multiple pages. As is, the websocket closes as the user navigates and the session with its selections are gone. The idea is to save the selection state as the user navigates and then apply it to the new session. I solve this using the browser Local Storage.
//Saves selections to local storage when user navigates away from page