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. Web Development
  3. ASP.NET
  4. Remember Username and Password

Remember Username and Password

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
10 Posts 5 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.
  • S Offline
    S Offline
    Socheat Net
    wrote on last edited by
    #1

    Can anyone give me a example? I want to remember Username and password, I don't know how to do?    Regard      Socheat

    ................

    C S R S 4 Replies Last reply
    0
    • S Socheat Net

      Can anyone give me a example? I want to remember Username and password, I don't know how to do?    Regard      Socheat

      ................

      C Offline
      C Offline
      Chetan Ranpariya
      wrote on last edited by
      #2

      Hi, Your question is not saying anything. Not able to answer. Try in google. Thanks and Regards, Chetan Ranpariya

      S 1 Reply Last reply
      0
      • S Socheat Net

        Can anyone give me a example? I want to remember Username and password, I don't know how to do?    Regard      Socheat

        ................

        S Offline
        S Offline
        Sandeep Akhare
        wrote on last edited by
        #3

        Where you want to remember your username and password ? In mind or somewhere else ? :)

        Thanks and Regards Sandeep If you want something you never had, do something you have never done!

        S 1 Reply Last reply
        0
        • S Socheat Net

          Can anyone give me a example? I want to remember Username and password, I don't know how to do?    Regard      Socheat

          ................

          R Offline
          R Offline
          rujuc
          wrote on last edited by
          #4

          Hi Socheat If your are using .net 2.0 then go for login control. Usage of this control is explained here http://www.codeproject.com/useritems/Remember_me_next_time.asp[^] Otherwise use cookies to store username and password and next time fetch their values from there. Hope this will help you.

          1 Reply Last reply
          0
          • S Socheat Net

            Can anyone give me a example? I want to remember Username and password, I don't know how to do?    Regard      Socheat

            ................

            S Offline
            S Offline
            Sathesh Sakthivel
            wrote on last edited by
            #5

            Claerly specify what you want to do? your question is not clear?

            Regards, Satips.

            S 1 Reply Last reply
            0
            • S Sathesh Sakthivel

              Claerly specify what you want to do? your question is not clear?

              Regards, Satips.

              S Offline
              S Offline
              Socheat Net
              wrote on last edited by
              #6

              Am sorry, I mean that i want to use cookies, so please help me

              ................

              1 Reply Last reply
              0
              • S Sandeep Akhare

                Where you want to remember your username and password ? In mind or somewhere else ? :)

                Thanks and Regards Sandeep If you want something you never had, do something you have never done!

                S Offline
                S Offline
                Socheat Net
                wrote on last edited by
                #7

                I mean that i use cookie to remember, but i don't know

                ................

                S 1 Reply Last reply
                0
                • C Chetan Ranpariya

                  Hi, Your question is not saying anything. Not able to answer. Try in google. Thanks and Regards, Chetan Ranpariya

                  S Offline
                  S Offline
                  Socheat Net
                  wrote on last edited by
                  #8

                  I mean to i want to use cookie but I don't know

                  ................

                  1 Reply Last reply
                  0
                  • S Socheat Net

                    I mean that i use cookie to remember, but i don't know

                    ................

                    S Offline
                    S Offline
                    Sandeep Akhare
                    wrote on last edited by
                    #9

                    My friend Cookies are not safe to use. If your application is not very concern about security then you can use cookies it is very simple // to add the username and password in cookies Cookie["UserName"] = UserNameTextBox.Text; Cookie["Password"] = PasswordTextBox.Text; // Retrive string username= Cookie["UserName"]; string password= Cookie["Password"];

                    Thanks and Regards Sandeep If you want something you never had, do something you have never done!

                    S 1 Reply Last reply
                    0
                    • S Sandeep Akhare

                      My friend Cookies are not safe to use. If your application is not very concern about security then you can use cookies it is very simple // to add the username and password in cookies Cookie["UserName"] = UserNameTextBox.Text; Cookie["Password"] = PasswordTextBox.Text; // Retrive string username= Cookie["UserName"]; string password= Cookie["Password"];

                      Thanks and Regards Sandeep If you want something you never had, do something you have never done!

                      S Offline
                      S Offline
                      Socheat Net
                      wrote on last edited by
                      #10

                      So do you have any comment for me? Thanks and Regards    Socheat

                      ................

                      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