 <p>Session is a good way to store and remember data but why complicate things? Consider if the form has many fields, developer has to store lots of values in session. Why not simply print or echo.</p> <p>Example:</p> <p>Form is submitted with input ssName and hidden field ssAct with value of send</p> <p>Get the ssName and ssAct on form submit</p> <pre><code>$ssAct=$_REQUEST["ssAct"]; $ssName=$_REQUEST["ssName"]; </code></pre> <p>and the form</p> <pre><code>&lt;input type="text" name="ssName" value="&lt;?php if($ssAct=='send' &amp;&amp; $ssName!='') { echo "$ssName"; } ?&gt;"&gt; &lt;input type="hidden" name="ssAct" value="send"&gt; </code></pre> <p>On submit name will be echoed if it was submitted and was not empty.</p>