title: asp.net iis ask login for twice
body: <p>I have an asp.net application host on iis 10. When I login at the login page, sometimes I need to login twice. At first login, it will prompt </p>
  
  <pre><code>https://test.com/SZ/Default.aspx?source=https%3a%2f%2ftest.com%2fSZ%2ftasksearch.aspx
  </code></pre>
  
  <p>which is still the login page, then I login again, this time it really login and redirect to </p>
  
  <pre><code>https://test.com/SZ/tasksearch.aspx
  </code></pre>
  
  <p>sometimes I need to login three times, how can I solve this problem?</p>