I need to verify the e-mail addresses of my users when they sign up in order to avoid wasting database space. I have come up with 2 ideas that wouldn't require me using any database space until they sign up and I'd like your feedback on them.
1. Set cookies with user's email, username, password, and activation key. Then, when they read their welcome e-mail, they follow a link and the page they go to will then read those cookies and process their signup.
2. Send the welcome letter containing a link that has the parameters:
?username=something&password=encrypted&email=email
What do you guys think of these two ideas?
I also read somewhere about sending a dynamic image to the user's email address, which would then activate their account as soon as a request is sent for that image (i.e. they opened the message). I'm not sure how to implement this, though.
Thanks for helping.
1. Set cookies with user's email, username, password, and activation key. Then, when they read their welcome e-mail, they follow a link and the page they go to will then read those cookies and process their signup.
2. Send the welcome letter containing a link that has the parameters:
?username=something&password=encrypted&email=email
What do you guys think of these two ideas?
I also read somewhere about sending a dynamic image to the user's email address, which would then activate their account as soon as a request is sent for that image (i.e. they opened the message). I'm not sure how to implement this, though.
Thanks for helping.