title: Persisting querystring parameter throughout site in ASP.Net MVC 2
body: <p>http:www.site1.com/?sid=555</p>
  
  <p>I want to be able to have the sid parameter and value persist whether a form is posted or a link is clicked.</p>
  
  <p>If the user navigates to a view that implements paging, then the other parameters in the querystring should be added after the sid.</p>
  
  <p>http:www.site1.com/?sid=555&amp;page=3</p>
  
  <p>How can I accomplish this in Asp.Net Mvc 2?</p>
  
  <p><strong>[Edit]</strong></p>
  
  <p>The url I mentioned on top would be the entry point of the application, so the sid will be included in the link.</p>
  
  <p>Within the application links like:</p>
  
  <pre><code>&lt;%= Html.ActionLink("Detail", "Detail", new { controller = "User", 
                                                id = item.UserId })%&gt;
  </code></pre>
  
  <p>should go to:<br>
  http:www.site1.com/user/detail/3?sid=555</p>
  
  <p>This question is different than what Dave mentions, as the querystring parameter is persisting throughout the site.</p>