Save URL of AJAX loaded page, so it can be loaded after a refresh
<p>We have an application writted in PHP. Its main view is for example: <code>/pages/index</code>.</p>

<p>Now when the user clicks on certain links, it pulls in other Views via ajax. ie. a call may look like <code>/pages/publish</code>, so the PHP outputs the relevant html for the publish section back to the index view.</p>

<p>The problem we have is we'd like to be able to give the user the option of refreshing and seeing the same view as before. So, my initial thought is this, when we use <code>.load()</code> in jQuery, to take the URL its going to load and store it somewhere to be read by the PHP if the user refreshes. Is the best way to do or can someone think of a better way to do this whole thing?</p>
