How to avoid Concurrency Problem?
-
Hi, I am developing a website in which users register with their data. Immediately after registering a Unique number is generated. So there is a chance of 3 or more users registering at the same time. At that time concurrency problem will occur........How to avoid? I am using SqlExpress as database and I wrote the code in Register Button click..... Please help me.... Thanking you McMilan.
-
Hi, I am developing a website in which users register with their data. Immediately after registering a Unique number is generated. So there is a chance of 3 or more users registering at the same time. At that time concurrency problem will occur........How to avoid? I am using SqlExpress as database and I wrote the code in Register Button click..... Please help me.... Thanking you McMilan.
Get the unique number in the global.asax session start save it in session and use it when needed.
I didn't get any requirements for the signature