开发者

mail validation suggestions

开发者 https://www.devze.com 2023-03-16 09:44 出处:网络
I am using some thing like signup page, after the user finishes his registerati开发者_Python百科on form an email is send to him including a link which when pressed redirect him to page which confirm h

I am using some thing like signup page, after the user finishes his registerati开发者_Python百科on form an email is send to him including a link which when pressed redirect him to page which confirm his registration , so any suggestions how to do that with google app engine (even the concept)


  • create GUID - java.util.UUID.
  • put this GUID into database table along with timestamp
  • generate the confirmation link with GUID as a parameter and email it to the user
  • once link is hit by the user, check that passed GUID exist in DB (and valid, not expired), complete registration and delete GUID record from database
0

精彩评论

暂无评论...
验证码 换一张
取 消