0

I just do Register form in my view, if the user register ready, field WebLog in my database set to -1, but for complete register, the user have to activate the link.

I want to get some idea, how to create that link in asp.net MVC.

Thanks.

Nothing
  • 2,644
  • 11
  • 64
  • 115

1 Answers1

1

Look at this answer in SO. It is about password reset but it applies exactly the same as the validation link. Code is included so you can generate a link to do the validation.

You should use the Membership Provider which will handle all the details of storing the states, password resets, etc.

Where to find C# sample code to implement password recovery in ASP .NET MVC2

Community
  • 1
  • 1
agarcian
  • 3,909
  • 3
  • 33
  • 55