title: How would I keep a chat session open with strophe while still allowing users to navigate to other pages?
body: <p>I'm sorry if that question seems vague but here's what I have.</p>
  
  <p>On the side of my webpage I have a chat script that performs the following functions each and every time the page is called up.</p>
  
  <ol>
  <li>Connects to my BOSH server</li>
  <li>Pulls data according to who is logged in</li>
  <li>Displays the user's roster on the sidebar</li>
  </ol>
  
  <p>I'm trying to save bandwidth (also prevent the user from being logged in/logged out each time they move pages) by keeping the chat window open on the side and using a frame concept to load the other data, similar to how Facebook does things.</p>
  
  <p>I'm aware of</p>
  
  <pre><code>history.pushState({},"New Title Goes Here","http://facebook.com/Something");
  </code></pre>
  
  <p>but I know there must be something more to it. Just a little lost on where to start looking. AJAX I know if going to play a big part of it, but I don't like to rely solely on javascript all the time.</p>
  
  <p>Any help is appreciated, thanks.</p>