K
Kamran K
Hello
I have created a client server application using C#. Existing
application is using random number on client side to generate sequence
numbers that are then assigned to transactions. This results in
duplicate sequence numbers across multiple users.
Solution to this problem is to generate the sequence number on the
server. Since this is not an ASP app, I cannot use Global.asax
Application object to keep track of begin application.
I would like to do this without hitting the database or use file system
to store and read numbers.
I would appreciate if anyone can help me with creating a sequence number
generator that would not result in duplicate numbers across multiple
users.
Thank You
I have created a client server application using C#. Existing
application is using random number on client side to generate sequence
numbers that are then assigned to transactions. This results in
duplicate sequence numbers across multiple users.
Solution to this problem is to generate the sequence number on the
server. Since this is not an ASP app, I cannot use Global.asax
Application object to keep track of begin application.
I would like to do this without hitting the database or use file system
to store and read numbers.
I would appreciate if anyone can help me with creating a sequence number
generator that would not result in duplicate numbers across multiple
users.
Thank You