How to keep radio selected states when hitting browser back button?
<p>I am handling a survey multistep form with many radio sets.</p>

<p>They have some default states</p>

<p>User operates over them to select his preferences.</p>

<p>Now the client wants when hitting either browser back button or the side navigator links (a set of links pointing to previous stages of the survey) to have the radio states the user previously chose.</p>

<p>Here is how the navigator looks like:</p>

<pre><code>&lt;ul&gt;
&lt;li&gt;&lt;a href="index.php?site=form1"&gt;Step1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="index.php?site=form2"&gt;Step2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="index.php?site=form3"&gt;Step3&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>There is only one $_SESSION that collects data throughout the survey.</p>

<p>I know I can load information directly from $_SESSION but I need to replace the default states when the request comes from the navigator links/ back button.</p>
