Am in the process of writing a server side Java program which would send an e-mail to a user with a confirmation URL (located in the body of the e-mail).
Have already created the servlet (which can send an e-mail) using the JavaMail API... Am wondering how I would design / implement the actual unique URL (where upon an end user's click, it launches a browser and states "Confirmed." in a web page)? The confirmed would have to match the end user's e-mail address (for verification purposes). Would I need to generate a token which would match with the User created in a database or would I use HttpSessions or Cookies appended to the URL?
Would appreciate it if someone could point me in the right direction...
Happy programming,
Mike