Hi:
I have the following Business logic.
1)The user entering his details once he entered, the detail should go to site .
2)From the site one authentication mail has to go to user there should be a link in that mail.
3)while user cliking that link the mail should be triggerd to site Admin,
4)If admin allows the user can start using the site with username ,password other wise he should be freezed.
How to implement this logic,Can any one send me an idea or code.
Thanks
Sateesh ArvetiPosted Sep 4, 2008, 3:18 AM
You can follow this steps to implement it:
1) Once user registers,store those details(username,password,unqiue id like GUID) in a dummy table and send him a mail with a link to a aspx page having above unqiue id in querystring in this format:
http://www.tempuri.org/access.aspx?ID=3233-232-32-2323..
2)in page_load of that page(access.aspx),send a mail to admin and create a page,where he can approve it.
3)If he approves,move that user details to main table(authenticated data).If he wont approve it,that details will not be moved to main table.so,he cant login.