title: How do I persist the value of a label through a response.redirect?
body: <p>Here's the situation: I have a label's text set, immediately followed by a response.redirect() call as follows (this is just an example, but I believe it describes my situation accurately):</p>
  
  <p>aspx:</p>
  
  <pre><code>&lt;asp:Label runat="server" Text="default text" /&gt;
  </code></pre>
  
  <p>Code-behind (code called on an onclick event):</p>
  
  <pre><code>Label.Text = "foo";
  Response.Redirect("Default.aspx");   
  </code></pre>
  
  <p>When the page renders, the label says "default text". What do I need to do differently? My understanding was that such changes would be done automatically behind the scenes, but apparently, not in this case. Thanks.</p>
  
  <p>For a little extra background, the code-behind snippet is called inside a method that's invoked upon an onclick event. There is more to it, but I only included that which is of interest to this issue.</p>