• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX :how to get the lock cookie?

 
Jamy Wang
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm confused about the lock cookie. I know the use of lock cookie ,but I don't know how to get it...

the method should return a lock cookie , how to get it? Just use Radom number???
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi James,
I love all questions about cookies (lock, magic, ...) !
Unfortunately, you brought the answer in your question.
Just use Random number???

Yes. And Random.nextLong() may help.
Best,
Phil.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic