Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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 July 25th, 2003, 03:45 AM
Registered User
 
Join Date: Jul 2003
Location: ipoh, perak, Malaysia.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to nazra Send a message via AIM to nazra Send a message via MSN to nazra Send a message via Yahoo to nazra
Default reset password help

Please can anyone tell me how to reset password from an ASP page.? I'm a beginner please help me & I've gone mad trying all possible types.Please Please Please Please do help me



nazra
 
Old July 25th, 2003, 04:49 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

What do you mean by resetting the password? In an HTML form control? Or the password you may have stored in a database?

In the first case, simply set the form field's value to '' using client side JavaScript.
For the second scenario, you'll need to write some ASP/ADO code that performs an update in the database, like:

UPDATE Users SET Password = 'DefaultPassword' WHERE Users.ID = 123

Search this forum, or Google for more ideas on how to write the code that performs the update.

HtH

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old July 25th, 2003, 08:24 PM
Registered User
 
Join Date: Jul 2003
Location: ipoh, perak, Malaysia.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to nazra Send a message via AIM to nazra Send a message via MSN to nazra Send a message via Yahoo to nazra
Default

hi,...

i want to create a page where can reset their password that stored in db..using asp code. but i dont know how to do that....

did anyone can help me?

nazra
 
Old July 25th, 2003, 09:24 PM
Registered User
 
Join Date: Jul 2003
Location: ipoh, perak, Malaysia.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to nazra Send a message via AIM to nazra Send a message via MSN to nazra Send a message via Yahoo to nazra
Default

now...I am doing a page that allow user to change their password.
thier password now refer to ID and it sae at database...

did anyone have an idea how to do that?

nazra




Similar Threads
Thread Thread Starter Forum Replies Last Post
how to reset the SessionID? akkad C# 2 October 24th, 2007 06:49 AM
Reset Not responding Swati_Jain ASP.NET 1.0 and 1.1 Basics 1 June 8th, 2006 02:12 PM
BackgroundImage reset ryan.thomson VB.NET 2002/2003 Basics 0 October 25th, 2005 08:39 AM
how 2 reset a form kanoorani Javascript How-To 6 October 10th, 2005 05:45 AM
MySQL password reset tdewitt274 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 2 August 10th, 2004 06:24 AM





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