title: Web browser back button should go back to specific page
body: <p>I have a file selection menu, the user selects a file and a new page loads the clicked file in a text area. The user edits the text in the text area and clicks a save button.</p>
  
  <p>Then the user should be able to go back to the file selection menu by clicking the web browsers back button.</p>
  
  <p><strong>The problem:</strong> The web browser requires two clicks on the web browsers back button. It should only require one click.</p>
  
  <p><strong>Question:</strong>
  How can I make the browser go back to the menu by only one click on the web browsers back button?</p>
  
  <hr>
  
  <p>EDIT: I am using sessions:</p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
          {
      if (Session["BrowserBackButton"].ToString() == "true")
                      {
                          Response.Redirect("MainMenu.aspx", true);
                      }
  }
  </code></pre>
  
  <p>Problem: When I write to the text area and then click browser back button one time it won't load the server side code again, it just removes the previously written text.
  Another click and it loads the server again.</p>
  
  <p>Can I load the server on browser back button click?</p>