Activate account by link in e-mail

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Activate account by link in e-mail

    Hello,

    I'm working on a school project about asp.net and I have a question
    about an activation link in an E-mail. I created a form at witch new
    users can subscribe. This form add the new user to an Access database
    and an E-mail is sent to the e-mail adress the new user entered. This
    link should set a boolean value(active) to true so the new user can
    start using his account.

    Can anyone tell me how to create a link like this, or can anyone give
    me an example for this kind of problem? The only thing what the link
    should do is update an existing record in the database so the user can
    start using his account.

    Thanks in advance,

    Gorden Blom
    gorden blom Guest

  2. Similar Questions and Discussions

    1. Outlook Web Mail link
      Our Call center reps now use Outlook Web Mail as their default mail client. I am the webmaster for several Intranet sites. Now that they are doing...
    2. help! how to link e-mail???
      Hi everyone!!! I have a little problem with linking buttons to e-mail address. When I click it takes me to unknown site and not to e-mail...
    3. [PHP] Cron time to activate mail and error handling
      1. We want to activate cron to wake up at certain time. We do not know how to configure the time for waking up? cron should be "active" all...
    4. Cron time to activate mail and error handling
      Dear friend, Two questions: 1. We want to activate cron to wake up at certain time. We do not know how to configure the time for waking up? ...
    5. Mail.app--deleted account: all messages gone forever?
      In case it's not clear from the title of the message, I've got a bit of an urgent situation. I'm using Mail.app to access a couple POP accounts....
  3. #2

    Default Re: Activate account by link in e-mail

    When someone subscribes - you simply generate a unique identifier, using
    static NewGuid() method on the Guid class.

    You insert this Activation Guid into the database against this user. Also,
    you set some Active field to 0 by default.

    Also - you use this Guid in the link in the e-mail and when this is
    clicked - you update the record for this activation Guid and set it's active
    flag to 1.

    Hope that gives you an idea of the process.

    Cheers,
    Wim Hollebrandse
    [url]http://www.wimdows.com[/url]
    [url]http://www.wimdows.net[/url]

    "gorden blom" <gordenblom@hotmail.com> wrote in message
    news:8c25c8c2.0307151134.1300dc6f@posting.google.c om...
    > Hello,
    >
    > I'm working on a school project about asp.net and I have a question
    > about an activation link in an E-mail. I created a form at witch new
    > users can subscribe. This form add the new user to an Access database
    > and an E-mail is sent to the e-mail adress the new user entered. This
    > link should set a boolean value(active) to true so the new user can
    > start using his account.
    >
    > Can anyone tell me how to create a link like this, or can anyone give
    > me an example for this kind of problem? The only thing what the link
    > should do is update an existing record in the database so the user can
    > start using his account.
    >
    > Thanks in advance,
    >
    > Gorden Blom

    Wim Hollebrandse Guest

  4. #3

    Default Re: Activate account by link in e-mail

    Thank you for helping me! Now I know where I'm looking for, this
    should be a lot easier.
    gorden blom Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139