Retain form values after reloading the page by hyperlink click
<p>I'm trying to add paging functionality to a serch items page. so I have added a pager with <code>UL</code> as</p>

<pre><code>echo '&lt;ul&gt;';
for($i=1; $i&lt;=$pageCount; $i++)
{
    echo '&lt;li&gt;&lt;a href="' . $_SERVER['PHP_SELF'] . '?page=' . $i . '"&gt;' .  $i . '&lt;/a&gt;';
}
echo '&lt;/ul&gt;';
</code></pre>

<p>When I click on a Page No in Pager, I can get the page number clicked on by</p>

<pre><code>if (isset($_GET['page']))
{
    $pageNo = $_GET['page'];
}
</code></pre>

<p>but I can not retain the text enterd by the user to serach items. I tried <code>$_POST['txtSearchText']</code> but it does not retain the value after the page refreshed.</p>

<p>Is there a way to retain the from values (without using session) after self loading the page by hyperlink click?</p>
