title: disable back button in react-router 2
body: <p>I am using react-router 2. My routes are defined as </p>
  
  <pre><code>   &lt;Route path="/" component={App}&gt;
         &lt;IndexRoute component={Home}/&gt;
         &lt;Route path="/about" component={About}/&gt;
         &lt;Route path="/login" component={Login} onEnter={redirectToDashboard}/&gt;
         &lt;Route path="/logout" component={Logout} onEnter={logoutSession}/&gt;
         &lt;Route path="/dashboard" component={Dashboard} onEnter={redirectToLogin}/&gt;
     &lt;/Route&gt;
  </code></pre>
  
  <p>Everything working fine but I am having problem disabling back button from my dashboard page.</p>
  
  <p>After successful login I am redirecting user to dashboard page but when user clicks back button it goes to login page again. I want to disable back button of <code>browser</code> when user is on dashboard page.</p>