title: ActionLink back button
body: <p>I have an Index method that does double duty as showing a list of posts and a queried list of posts and can also have pages so you get urls like <code>/News/Page/1</code> or <code>/News?query=test</code></p>
  
  <p>When a user clicks through to a post at say <code>News/Details/1</code> they get a simple ActionLink that takes them back to the list. BUT I want this link to take them back to the actual page they were on in terms of the paging or the query. How could I do this? I don't want to use the JavaScript history method. Here is my current ActionLink: <code>&lt;%=Html.ActionLink("&lt;&lt; Back to News List", "Index")%&gt;</code> and this is an example of the paging links: <code>&lt;%= Html.RouteLink("&lt;&lt; First Page", "NewsPaging", new { query = ViewData["query"], page = 0 })%&gt;</code></p>
  
  <p>Thanks</p>