Signup : User confirmation of EmailThe user can login to its mail box and open the welcome mail with the link. The welcome mail will have the link with all the required data as uqery string. On clicking the link , the browser will open the verification page at server and submit the following data.
Read this to understand how data is passed using query string By using the status_id we will collect all other details like userid, email, word, status, mem_id, from the mem_status table by using SELECT Query.The status is expected to have two options . B : The confirmation mail is posted and the user has not yet responded C : User has confirmed the mail by visiting the link and submitted all matching data We will check the status value and by using switch function run the code blocks. If status is B , then both tables mem_signup and mem_status are updated with status = C , for this following steps are taken .
All data ( userid, email, mem_id, word ) are matched with stored data against status_id. If the data is matching then the status field of mem_signup and mem_status table are updated to C . If status is C , then message is given to user saying the email address is already confirmed so they can login.
Features with Tutorials
Signup page with all validations
Welcome page after signup asking user to check & verify email
Verification of Email address
Login Page after verifiction of email
Home page for logged in users members
Logout page to destroy session variables
This article is written by plus2net.com team.
|
Most Popular JQuery Scripts | |
1 | Two dependant list boxes |
2 | Calendar with Date Selection |
3 | Data change by Slider |
4 | Show & Hide element |