Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 5th, 2005, 02:05 PM
Registered User
 
Join Date: Mar 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default change password code

I am attempting to create a change password screen on my page. Currently, I have all my users setup with a default password of "password". when a user logs on, I would like to check to see if thier password = "password" if so, they will redirect to a change password screen that will ask them for a new password and save it to the current database.

Thanks in advance for any help anyone can give me.
 
Old March 6th, 2005, 01:54 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

You need to check the password for the user logged in:
ex:
  Select password from <table> Where username = @username

If the password = "password"
   redirect to appropriate page ..






Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Password zrtv Pro VB 6 1 September 10th, 2007 07:29 AM
Change LDAP Password yanis97 J2EE 0 January 3rd, 2005 06:02 AM
change password help budakcomel Classic ASP Databases 0 July 29th, 2003 09:51 PM
How to change the password?? wingtma SQL Server 2000 1 July 8th, 2003 06:27 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.