The website that I created enables users to signup. When they register an account, a mail is sent to them.

In the mail, I wish to send them a link upon clicking of which enables them to login.

How can I do this?


I was thinking on the following lines-

Upon user registration, generate a random query string and send it in the mail. In the users table keep a boolean variable depending upon whether the user has clicked or not (matching the querystring). How can I code the login page so as to 'read' the querystring in the browser?

9 Years
Discussion Span
Last Post by tuse

I got it.

It is Request.QueryString("qs-name")

For some reason it was not working the first time I tried it.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.