Click here to Skip to main content
15,902,863 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
i have a doubt regarding email verification....after an user registers at the site an email goes to his inbox showing his userid,password and a link to activate his account....suppose if the user clicks the link 2nd time how the program detects his account has already been activated and one more thing when he logs into the site and if the account has not been activated how the program detects his account has not been activated
if anybody does have a sample code please post here or explain the concept
Posted

I would suggest you need to buy some basic books, and read them, then start to think in terms of how a program logically works. Why would a website have trouble checking it's own database to tell that an account is active or not ?
 
Share this answer
 
Further to Christian's answer.

A user REGISTERS on the site and the details are recorded.
An e-mail is sent to user with a link for ACTIVATION.
The user clicks the link and the system looks up the recorded details to ACTIVATE the account.
If the user tries to ACTIVATE the account for a second time, the system will detext that it has already been done.

This is web-authentication basics.
 
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