title: How to force the user to change his password after first login?
body: <p>I want to force the user to change his password after his first login. Now, where should I put the <em>redirection code</em> to ChangePassword page  ?</p>
  
  <ul>
  <li>If I put it in the <code>Page_Load</code> of Default page, user can move to any page because he <strong>is Authenticated</strong>.</li>
  <li><p>If I put it in the <code>Page_Load</code> of Master page, the ChangePassword page uses the same master page, and it'll enter in an infinit loop of redirections.</p>
  
  <p>I though of ignoring the redirection if the <code>Page</code> is the ChagePassword page from the Master page, and I found <a href="https://stackoverflow.com/questions/269050/how-to-determine-which-child-page-is-being-displayed-from-master-page/269153#269153">this</a> answer which says:</p>
  
  <blockquote>
    <p>This sounds like a bad idea to start with. The idea of the master is that it shouldn't care what page is there as this is all common code for each page.</p>
  </blockquote></li>
  </ul>
  
  <p>Any suggestion!</p>