Duplication Submission on NLB cluster

G

Guest

Supose you have NLB'd web servers with affinity set to none. A user
fills out a form whose content will be written to a database. Also suppose
the impatient user hits the submit button a second time. My question is,
what do you need to detect the duplication submission?
 
B

Bruce Barker

this same issue exists on a single webserver. there are several options.

1) write you code so it doesn't matter (update if found, use unit counts
instead of add, etc).
2) store a transaction guid with the page, and check if processed
3) disable button (won't prevent a refresh from resubmitting)

-- bruce (sqlwork.com)
 
T

Trevor Benedict R

I would go with the Disable Button option using some client side script
before the postback event.

Regards,

Trevor Benedict R
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top