From what I know, Random () is initialized by the current time. If two connections fall within the same second, should I get the same two random numbers? With a large site that may be likely. The lock is bad, so how should I solve it? note: the number is used for the session identifier.
-edit- I am stuck using a long one. Incorrectly truncate 128-bit GUID
user34537
source
share