• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I would like to create a unique id number

 
Randy Valadez
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to create a unique number for my airline confirmation number just for display(show)... any ideas
I have tried the Math.random casting to an int and all other crazy ways. Any code snippets to help me with my unique number problem?
Thanks Randy
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is one of the topics that's up for debate, IMHO, I really don't think it's neccessary to create a client indetification, or any type of indentification number at all.
 
Randy Valadez
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This unique number is just to show a confirmation number It will not be used for record locking etc.. Just to show a fake but unique confirmation number
Thanks Ray
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic