Encode to hex or base64 to make the link "presentable".
Also the user's id should be unique, so use that for uniqueness. Store a randomized token (number or string etc) in the user's data and then encode/encrypt the id and the token in the link. Cheers, Nick. Angelo Chen wrote:
Hi, Sorry, this is not Tapestry related, I need to generate a unique ID so that user can confirm their registration by clicking a link like: http://mydomain.com/confirm/1234568798, if I use java.rmi.server.UID, the code does not look good for this job:-5a9a0257:1158cfbcadf:-7fff, any hints to share? thanks. A.C.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]