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. how to implement the "remember me" component in the asp web page

how to implement the "remember me" component in the asp web page

Scheduled Pinned Locked Moved ASP.NET
csharptutorial
6 Posts 3 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.
  • A Offline
    A Offline
    Amit Spadez
    wrote on last edited by
    #1

    i have made asp based web page using C# in which there is a login form and it is running well But I want to implement another thing in it . I want to have "remember me" component in it.Plz send me the code for it in C# . Thankx

    T G 2 Replies Last reply
    0
    • A Amit Spadez

      i have made asp based web page using C# in which there is a login form and it is running well But I want to implement another thing in it . I want to have "remember me" component in it.Plz send me the code for it in C# . Thankx

      T Offline
      T Offline
      tejesh123
      wrote on last edited by
      #2

      If the Check box is enabled you can work with this Code you can try FormsAuthenticationTicket and add it to Cookie.

      A 1 Reply Last reply
      0
      • T tejesh123

        If the Check box is enabled you can work with this Code you can try FormsAuthenticationTicket and add it to Cookie.

        A Offline
        A Offline
        Amit Spadez
        wrote on last edited by
        #3

        how could it do this? I mean don't know how to put the code of "formsAuthentication" and add it to the cookie..that's why i have asked to do so...

        G T 2 Replies Last reply
        0
        • A Amit Spadez

          i have made asp based web page using C# in which there is a login form and it is running well But I want to implement another thing in it . I want to have "remember me" component in it.Plz send me the code for it in C# . Thankx

          G Offline
          G Offline
          Gamzun
          wrote on last edited by
          #4

          store the credentials in a Cookie if 'Remember Me' is selected and later retrieve data from the cookie to pre-populate the fields.

          1 Reply Last reply
          0
          • A Amit Spadez

            how could it do this? I mean don't know how to put the code of "formsAuthentication" and add it to the cookie..that's why i have asked to do so...

            G Offline
            G Offline
            Gamzun
            wrote on last edited by
            #5

            are you using FormAuthentication as first place? If so, you don't have to add code to the cookie, add Authentication Ticket to the cookie.

            1 Reply Last reply
            0
            • A Amit Spadez

              how could it do this? I mean don't know how to put the code of "formsAuthentication" and add it to the cookie..that's why i have asked to do so...

              T Offline
              T Offline
              tejesh123
              wrote on last edited by
              #6

              you can Check this http://forums.asp.net/p/1010241/1347970.aspx[^]

              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