473,320 Members | 1,862 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Duplication Submission on NLB cluster

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?
Nov 19 '05 #1
2 1152
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)
"Aeden Jameson" <Aeden Ja*****@discussions.microsoft.com> wrote in message
news:81**********************************@microsof t.com...
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?

Nov 19 '05 #2
I would go with the Disable Button option using some client side script
before the postback event.

Regards,

Trevor Benedict R

"Bruce Barker" <br******************@safeco.com> wrote in message
news:uh**************@TK2MSFTNGP12.phx.gbl...
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)
"Aeden Jameson" <Aeden Ja*****@discussions.microsoft.com> wrote in message
news:81**********************************@microsof t.com...
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?


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Leonardo C | last post by:
Hi: I'm trying to setup a MS Cluster but I don't know if it is feasible to configure it in the way I think. I have two machines with win2k server and MSSQL-2000 one of them is currently...
0
by: williams | last post by:
I am trying to encrypt data in a SQLServer 2000 Cluster using Microsoft EFS. I have successfully encrypted a standalone DB but we are having difficulty with the Cluster. I am only encrypting the...
1
by: richardshen | last post by:
DB2 V8 on windows 2003 cluster server. DB2MSCS -f:db2.cfg DB2 instance is in the cluster now. DB2MSCS -u:db2 DB2 instance is in the local node now. I want to cluster the instance again DB2MSCS...
17
by: Peter Ericsson | last post by:
Does anyone know if Microsoft plans to implement an C# (.net) API for MS Cluster like the one in C++? Or has someone else written a C# wrapper for the C++ API?
4
by: ThunderMusic | last post by:
Hi, We have many servers setup as a cluster. When one server crashes, another one take the relay... We want to know if it's possible (I suppose it is) to make a Windows service developed with .NET...
3
by: Simon | last post by:
Hi All, I'm hoping someone will have some words of wisdom for me regarding MS Clustering on Windows 2003. I have a service that runs on a cluster. During invocation it's supposed to...
2
by: dunleav1 | last post by:
I have a many row and many column table that is in a 16K page size. I have four indexes on the table. I am running row compression on the table. The table does not have a primary key. The table...
1
by: =?Utf-8?B?S2Vubnk=?= | last post by:
I have one bat file that contains a command to startup Java Program. Then, I would like to create a cluster job to call the bat file. In case of one computer is down, another computer can also call...
10
by: Ian | last post by:
Henry J. wrote: MDC *guarantees* clustering, whereas a table with a clustering index will eventually require maintenance (a.k.a. reorg) to maintain the cluster ratio. That's not to say that...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.