Click here to Skip to main content
15,920,836 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I am working with c# and .net 3.5. I did created login portion and sing up portion but I need to send link to users email address after they sing up. user will click on that link and after that his account will be active and they can login in with user name and password....

Can some one help me please????

Thanks
Posted
Comments
OriginalGriff 14-Apr-13 7:58am    
What have you tried?
Where are you stuck?
[no name] 14-Apr-13 8:12am    
Why not do some basic research? People doing this exact assignment have asked this question several times already.

1 solution

well what you can do is while the user click on signup send an encrypted unique code to the email address entered alons with your URL as query string and store the decrypted value along with user info and make the status of the user De-active.

When the user clicks the link and comes to your page on page load verify the query string by decryting the same and to whatever user it matches activate the user.

note: you need to make sure the encrpted code is unique for all users.

That's how it works.

Hope this helps you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900