Get and Post vs Query String
<p>Whenever we redirect from one page to another page, Query string can be used. Now when i used the "GET" and "POST" methods in the form tag.</p>

<p>I have got the following findings.</p>

<ol>
<li>Get - Exposes is the data of password fields in the URL. SO it should not be used. Right?</li>
<li>POST - Some unnecessary data can be accessed from Request .Form of the textbox fields which is not required.</li>
</ol>

<p>I think, while navigating to another page, I can use Query String on clikcing the button like below.</p>

<pre><code>Response.Redirect("abc.aspx?id=10") //This will be at the code behind level.
</code></pre>

<p>and similarly we can use in Java Script like below.</p>

<pre><code>function RedirecToAnotherPage(){
    window.open('abc.aspx?id=10');}
</code></pre>

<p>Right?</p>

<p>Here, my query is in which case, I can use the "GET" and "Post" method in real life/dynamic website</p>
