Set Page Variable With JS/JQuery
<p>I have an html page that is basically a wrapper.  I have tabs on the page, that when clicked uses the JQuery.load function to load a particular page in a subdirectory.  This allows me to change content to suit a partticular page view without having to refresh the page or set session variables.  However, if I <em>do</em> refresh the page, I'm back to viewing the wrapper's default content.  </p>

<p>How can I set a variable using JQuery that will allow me to check if that variable is set, and if so, immediately load page when the window refreshes?  I think I managed to find a way to do this via PHP by calling an additional AJAX call that sets a PHP session when a tab is clicked, but I am trying to get away from that.</p>

<p>TIA.</p>
