Ben
|
| Posted: 06/24/2003, 11:10 AM |
|
I am looking for a working example on how to check if a users password has been reset.
My user tabel has a column 'pwreset' that is set to 'Y' if an administrator resets the users password.
I want to be able to check this flag after a successful login and before redirecting them to the opening page. If the flag is set to 'Y' I want to open a new window with a Change Password page and force the user to change their password. After they have changed their password I then want to close the Change Password window and allow them to continue to the opening page.
I am using the following:
CSS 2.1.1.20
PHP w/ Templates
Links to a working example would be great.
Thanks,
Ben
|
|
|
 |
rrodgers
|
| Posted: 06/24/2003, 3:09 PM |
|
Hi Ben,
I don't have time right now to make and test an example of this. But here is a link to a zip of the pages that make this work on a site I have built.
http://www.sylvancomputing.com/ccs
This is the site that I use this code.
www.hanfordflames.org.
Look carefully at the login.asp file. There is some inline code there. Search for "BeginHere" to find it. I probably could put it in some event but I have not tried to figure out which one.
Hope this helps
rob
|
|
|
 |
|