Skip to main content
Inspiring
March 3, 2008
Question

Email authentication

  • March 3, 2008
  • 1 reply
  • 236 views
I need to have some sort of email authentication on some sites I have built in ASP and VBScript. I have users sign up for a 7 day trail of some news sites and then when their trail has ended, lock them out of the site unless they subscribe. Now this all works fine, but some people have been entering false email addresses and managing to slip through the net.

Now, once they have entered an email address, I need to send an email to that address and supply a link to verify that email address thus activating that trial account.

I can't figure out the sending of the email with a verification link in it and how it applies to the correct record once the link in the email has been clicked.

I think this is quite standard nowadays, but I can't seem to find anything on the web for ASP email verification other than the usual check for the '@' and '.' in an email address...

Has anybody got any tutorials/samples on how I might achieve this, or even recommend an extension or similar.

Thanks.

Mat
This topic has been closed for replies.

1 reply

Inspiring
March 3, 2008
Setup a User databse.
In it have UserName (and/or E-mail), Password, ExpirationDate

When they sign up send them an e-mail with the password and an expiration
date (for the trial or for paid). Store that info in the DB.

If they are who they say they are, they'll get the password and be able to
log into the site.

Every month or so (depending on size) go through and remove those that are
well past the expiration date.