re my previous message on LiveUser. I want<br>to create a "Please send me a new password" feature.<br><br>My setup for LiveUser requires a login id and a password <br>to get some one logged in. I also have a couple of other<br>
items required when the user registers.<br><br>My first thought was to ask the user to give me their loginid<br>and email, then reset their password with a new one and send <br>it to them ( LiveUser used md5sum to store the information in<br>
a database table ). The obvious problem with this is <br>if some nefarious person guesses your loginid and password combination<br>the can make life pain for their target by resetting the persons password<br>over and over. The nefarious one can't get on but make the targets life<br>
gloomy.<br><br>My solution was to create two new columns in my data base.<br>a "NewPassword" and a "NewPasswordTime". When<br>someone correctly enters a valid userlogin id and email <br>create a new password and time stamp it and stuff in the<br>
above fields. Then send the user a link with a long hash / md5sum<br>entry which would check that the "NewPasswordTime" was withing<br>24 hours, if so, then move the "NewPassword" into the effective<br>
password field, thus resetting the password.<br><br>The rub is I can't seem to find any way in the LiveUser class sturctures<br>(the code is object oriented with classes and such ) to access<br>user defined columns in the data base. I certainly seems like<br>
it should support them, in the setup configuration it gives one <br>the option to define extra fields. I'd rather not access the<br>underlying data base directly if possible.<br><br>So two questions are 1. any suggestions for a non painful reset my<br>
password function, and 2. How to add extra data to LiveUser tables<br>and access it via LiveUser built in functions.<br><br>-------<br>Vince<br>