Request.QueryString and OutputCache in ASP.NET
<p>I have a problem with Request.QueryString that returns a null value. I think that is from OutputCache</p>

<p>I have in Default.aspx (with master file)</p>

<pre><code>&lt;%@ OutputCache Duration="60" VaryByParam="button" %&gt;

&lt;script runat="server"&gt;
   protected void Page_Load( object sender, EventArgs e ) {
      TimeMsg.Text = DateTime.Now.ToString( "G" );
      string v = Request.QueryString["button"];
      PageName.Text = v;
   }
&lt;/script&gt;

&lt;form method="get" action="Default.aspx"&gt;
   &lt;h5&gt;Click a button&lt;/h5&gt;
   &lt;input type="submit" name="button" value="One" /&gt;
   &lt;input type="submit" name="button" value="Two" /&gt;
   &lt;input type="submit" name="button" value="Three" /&gt;
   &lt;/form&gt;



   &lt;p&gt;Page generated at : &lt;asp:Label ID="TimeMsg" runat="server"&gt;&lt;/asp:Label&gt;&lt;/p&gt;
   &lt;p&gt;Page name : &lt;asp:Label ID="PageName" runat="server"&gt;&lt;/asp:Label&gt;&lt;/p&gt;
</code></pre>

<p>I don't write anymore the <code>&lt;asp:Content ID='' ...&gt;&lt;/asp&gt;</code> tag.</p>

<p>When I press one of button, the PageName returns empty that I checked the <code>v</code> variable with Debugger and I see that it returns null.</p>

<p>Why ?</p>
