Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Email authentication

Enthusiast ,
Mar 03, 2008 Mar 03, 2008
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
TOPICS
Server side applications
236
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 03, 2008 Mar 03, 2008
LATEST
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.


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines