473,387 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

verfying user's email address

Hi all,

I need to verify that the supplied email address is valid or not. So, here's my situation:
- In my <profilearea, I created <isVerifiedproperty.
- Suppose a new user has been created. I set the profile.isverified to false.
OnCreatedUser event I'll send him an email (to the supplied email address) to verify their email address with a link in it to an ASPX page that'll do the verification, e.g: verify.aspx?u=aUserName
- On page_load of verify.aspx, I want to change the <isVerifiedproperty to true and set the <isApprovedto true, so he can start log in.

How to do this? I'm using ASP.NET 2.0 (VB.NET) and MSSQL 2K for membership database.

Thanks in advance,
Mike

Jul 25 '06 #1
1 1184
Hi,
Do you really want us to develop this for you? first of all, for security sake, you should encrypt your parameters so the user can't build it's own query string at least as a bare minimum using base64 encoding. after that, you'll need 2 pages (you could do with one, but let's save the assle) one for registering, one for verifying... it's as simple as h*** if you've ever done some asp.net.

If your problem is to send e-mails here's an example :
http://msdn2.microsoft.com/en-us/library/ms173026.aspx

I hope it helps

ThunderMusic
"Mike" <ne*********@hotmail.comwrote in message news:uY****************@TK2MSFTNGP05.phx.gbl...
Hi all,

I need to verify that the supplied email address is valid or not. So, here's my situation:
- In my <profilearea, I created <isVerifiedproperty.
- Suppose a new user has been created. I set the profile.isverified to false.
OnCreatedUser event I'll send him an email (to the supplied email address) to verify their email address with a link in it to an ASPX page that'll do the verification, e.g: verify.aspx?u=aUserName
- On page_load of verify.aspx, I want to change the <isVerifiedproperty to true and set the <isApprovedto true, so he can start log in.

How to do this? I'm using ASP.NET 2.0 (VB.NET) and MSSQL 2K for membership database.

Thanks in advance,
Mike

Jul 25 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

88
by: Mike | last post by:
Is there a way to determine what a user's default email client is? I read a post from 3 years ago that said no. I guess I'm hoping something has come along since then.
2
by: bender | last post by:
Hi. Sorry if this is an old question, but.... i have a table that includes an e-mail address in a query, i would like to create two columns with expressions for the hostname and the username....
1
by: RA | last post by:
Hi I have a contact us button that when the user clicks it I want it to open the user default mail form put the To information with the name whom this email will be sent to and the rest is up to...
3
by: trynittee | last post by:
Hello, Thank you so much in advance to those who will take the time to read and answer. This group is a wonderful site. I have inherited a contacts database that sits on a server. Users...
4
by: Mike | last post by:
Hi all, In my recent ASP.NET 2.0 appl, I need to verify that the supplied email address is valid or not. So, here's my situation: - In my <profilearea, I created <isVerifiedproperty. - Suppose a...
5
by: rn5a | last post by:
Consider the following user control which resides in Address.ascx: <script runat="server"> Public Property Address() As String Get Address = txtAddress.Text End Get Set(ByVal value As String)...
3
by: rn5a | last post by:
I already have a user control, named Address.ascx, which displays 4 TextBoxes. As such, there's no problem in rendering these 4 TextBoxes in a ASPX page. The ASPX page renders the 4 TextBoxes twice...
2
by: underground | last post by:
Hi, everyone I've been trying to figure out a way for a user to update there information. I'm using sections to identify the specific user..Here is the form <? include("include/session.php");...
1
by: kang jia | last post by:
hi when user entered particulars in signuppage and click" signup" button, i will direct them to do_signup.php. if say the NRIC is dupicate in datebase, i will redirect them back to signup page...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.