CFINVOKE - Need unique value every time, danger of duplicates?
Using CFINVOKE to generate unique UUID to insert into DB. If multiple users hit the app, is there any danger that one UUID could be returned to multiple users?
It's a user registration page. On form post, validation page invokes a CFC to generate a UUID. Not using any <CFSET> in the CFC, also aware of making sure to VAR any variables in a CFC.
If two users register at the same time, the CFC called at the same time by each, is there ANY chance both users could get the same result? This is not desired.
I guess my question is in regards to scope. How can I scope a CFC so that it's specific to the page that is calling it?
