Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

method="POST" causing multiple database inserts

Status
Not open for further replies.

sdidomenico

Programmer
Sep 26, 2003
34
0
0
US
Hello,

We have a new ASP/SQL Server application that has been running for (6) months. On at least (4) occasions a POST has been sent from the Browser yet it runs multiple times on the Server. This causes the same record to be inserted multiple times into the database. There is no pattern to this. In addition, the User cannot click "save" more than once as the application will redirect them to a view page and there is no refresh button on the view page.

Here are the entries from the IIS Log on this matter, for security reasons the IP Address has been changed to 9.9.9.9 and 9.9.9.8:

2004-03-11 14:21:03 9.9.9.9 - 9.9.9.8 8080 POST /donor/manage_donor.asp - 302 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322)

2004-03-11 14:21:03 9.9.9.9 - 9.9.9.8 8080 GET /donor/view_donor.asp iDonorId=100256509 200 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322)

2004-03-11 14:21:03 9.9.9.9 - 9.9.9.8 8080 POST /donor/manage_donor.asp - 302 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322)

2004-03-11 14:21:03 9.9.9.9 - 9.9.9.8 8080 POST /donor/manage_donor.asp - 302 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322)

2004-03-11 14:21:03 9.9.9.9 - 9.9.9.8 8080 POST /donor/manage_donor.asp - 302 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322)

2004-03-11 14:21:03 9.9.9.9 - 9.9.9.8 8080 POST /donor/manage_donor.asp - 302 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322)

The first POST and the first GET are correct. Then there are (4) more POSTs yet there is not a GET for each of them.

As you can see, all of these log entries happen within the same second.

Does anyone know why this may be happening?

Thanks in advance for your time,

Steve DiDomenico
Nashua, NH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top