Implementing "Forget Me"

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Implementing "Forget Me"

    We have implemented "Remember Me" with the following call:

    FormsAuthentication.RedirectFromLoginPage(txtUsern ame, cbRememberMe.checked)

    We have a need now to allow users to be voluntary forgotten. Is there
    anyway we can programatically take back the cookie we issued?
    thanks,
    Gary


    Gary Guest

  2. Similar Questions and Discussions

    1. CFINPUT type="radio" w/ "value" requires "label"
      On a Flash form, when you specify type='radio' and value='whatever', the value of the 'value' attribute will be displayed as a label if no 'label'...
    2. Implementing "Remember Me"
      Our site uses forms authentication where we always store the username in a session("UserName"). We get that username from the logon screen. Now we...
    3. ANN: Improve your "Contract First" Web services development experience: WsContractFirst v0.2 - forget about wsdl.exe
      OK, here we go ... I am happy to announce version 0.2 of a tool - a Visual Studio .NET Add-In - called WsContractFirst. The first bits (version 0.1)...
    4. Make text boxes "forget" values
      Hi Jonathan! I believe that the IsPostBack property is what you're looking for. You can add code to the page_load event that looks something...
    5. "Start" "Program" "Menu" list is empty
      For what ever reason my list of installed programs in my "Start" "Programs" menu is empty. Anyone know how to restore the list. Thanks for your...
  3. #2

    Default RE: Implementing "Forget Me"

    Hi Gary,


    Thank you for posting here. Based on your description, you want to let the
    customer manually remove the FormAutentication's login cookie info when
    they've logined before and chose the "remember me". Please correct me if I
    misunderstanding your problem.

    As for the FormAuthentication of ASP.NET. When you call the
    FormsAuthentication.RedirectFromLoginPage(txtUsern ame,
    cbRememberMe.checked), the user's login cookie(token) will be genrerated.
    And the "cbRememberMe.checked" will control whether to persisit the client
    login cookie for the next time user visit the web application. However,
    this rely on that the user haven't logon out during the last visit, because
    when the user logout, the login cookie and token is no longer valid. And in
    Form Authentication, you can call the "FormsAuthentication.SignOut()" to do
    the logout operation. As for the problem in this issue, I think you may
    programatically call the "FormsAutenticaion.SignOut()" to terminate the
    user's login cookie. How do you think of this means?

    Please try out my suggestion to see whether it is helpful. If you have any
    questions on my description, please feel free to post here.


    Steven Cheng
    Microsoft Online Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)


    Steven Cheng[MSFT] Guest

  4. #3

    Default RE: Implementing "Forget Me"

    Hi Gary,


    Have you had any progress on this issue or have you resolved it?
    Please feel free to post here if you need any assistant.


    Steven Cheng
    Microsoft Online Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)


    Steven Cheng[MSFT] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139