directxBOB
asked on
Creating a Unique ID
I am looking for advice or solution for creating a Unique ID. Basically I need to record a transaction id whenever my SOAP applications shake hands and I was unsure as to the best solution.
Previously I had just used an int, and bumped it up every time the handshake was made, but perhaps there is a better method like GUID?
Anyone got any ideas, or examples
Previously I had just used an int, and bumped it up every time the handshake was made, but perhaps there is a better method like GUID?
Anyone got any ideas, or examples
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes, that is correct
ASKER
Also given that a GUID is a 128bit integer I assume I can cast it to an int for general usage?
Guess so, It's not something I've ever had cause to do.
ASKER