Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Change Password

Change Password

Scheduled Pinned Locked Moved C#
databasehelpquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DKalepu
    wrote on last edited by
    #1

    Hi All, I have a button "Change PAssword". When user clicks on that it displays a form like: Old P/w: New P/W: Confirm New P/W: & then a "proceed" button. whenever user enter all these details & press Proceed, that new password should get overwrite by the one already exists in the database. How is it possible? Could any one help me on this..... Thanks in Advance!

    C P A 3 Replies Last reply
    0
    • D DKalepu

      Hi All, I have a button "Change PAssword". When user clicks on that it displays a form like: Old P/w: New P/W: Confirm New P/W: & then a "proceed" button. whenever user enter all these details & press Proceed, that new password should get overwrite by the one already exists in the database. How is it possible? Could any one help me on this..... Thanks in Advance!

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Well, I guess you want to write a procedure that takes the id of the currently logged in person, checks if the old password entered was correct for that user, and changes it to the new password. That seems pretty obvious, but we can't offer more help than that because, beyond the trivial overview, the specifics are entirely dependant on the specifics of your database schema.

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      1 Reply Last reply
      0
      • D DKalepu

        Hi All, I have a button "Change PAssword". When user clicks on that it displays a form like: Old P/w: New P/W: Confirm New P/W: & then a "proceed" button. whenever user enter all these details & press Proceed, that new password should get overwrite by the one already exists in the database. How is it possible? Could any one help me on this..... Thanks in Advance!

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #3

        This is a really trivial process. First, you want to check that the user credentials are correct. If so, check the new password against the confirmed new password. If all is good, then run an update query based on whatever your database schema is.

        "That's no moon, it's a space station." - Obi-wan Kenobi

        1 Reply Last reply
        0
        • D DKalepu

          Hi All, I have a button "Change PAssword". When user clicks on that it displays a form like: Old P/w: New P/W: Confirm New P/W: & then a "proceed" button. whenever user enter all these details & press Proceed, that new password should get overwrite by the one already exists in the database. How is it possible? Could any one help me on this..... Thanks in Advance!

          A Offline
          A Offline
          Amar Chaudhary
          wrote on last edited by
          #4

          this is a bit long process and it includes learning and reading

          It is Good to be Important but! it is more Important to be Good

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups