cancel
Showing results for 
Search instead for 
Did you mean: 

Silent Post best practices question

Programming Languages:  ASP.net, VB.net

 

Afternoon All!

 

In my silent post listener, I am generating a random number to append to the file name of my received post data to make the name unique when saving.  That seems to work for the most part, however, it seems that on occasion when I receive multiple posts at the same time, I have two files that get the same random number (resulting in the same file name) and the second overwrites the first.  I am thinking about replacing the random number generator with a Guid.NewGuid() reference, but I thought I would check with the Developer Community first to see if anyone has a better solution.

 

Any thoughts?

 

Thanks!

 

Josh

sasartiglia
Member
1 ACCEPTED SOLUTION

Accepted Solutions

The return transaction ID and authorization code should be unique.

View solution in original post

RaynorC1emen7
Expert
2 REPLIES 2

The return transaction ID and authorization code should be unique.

RaynorC1emen7
Expert

I'm overthinking things as usual.  Thanks!