I am using window authentication in my web site in which page is divided into frames. After four minutes user is logged out. If user tries to access page user name/password is again asked. Now if user click cancel then "401 Unauthorized" message is shown and again user name/password is asked and if again user clicks cancel. Now user sees two "401 Unauthorized" messages. can anybody help me with this so that one page shows only one "401 Unauthorized" message and ask for password only for single frame.