I have a login jsp page that logs user’s login history in the database, I just found out that there is duplicated logging information inserted in the database with a single login action. It happens randomly when using IE (version 6).
Every time when a double logging happens, it is always associated a server (weblogic 6) side exception: "javax.servlet.jsp.JspException: Connection reset by peer: socket write error". I debugged into the service (strut action source code) and found that the same request has been submitted to the service twice. It seems that IE browser abruptly drops the existing connection to the server and immediately requests the same page again (in this case, IE send duplicated login request to the server).
The duplicated request issue does not happen when using Firefox.
I don’t know how to fix the problem , your help is highly appreciated.
if ( ....)
alert("The terms and conditions\nmust be accepted to login.");
Joined: Sep 06, 2005