CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Is Password Reset?

Print topic Send  topic

Author Message
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

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.