.NET 2.0 FormsAuthentication Remember Me Challenge(xerratus.com)

submitted by xerratusxerratus(415) 5 years, 6 months ago

A few weeks ago, I posted a solution I came up with a way to utilize a remember me checkbox in .NET 2.0 that, when selected, pre-populated just the username in the username textbox during subsequent visits. The problem I found was that signing out of FormsAuthentication wiped out any and all cookies I had set during or prior to logging a user in. So, the simple act of looking at the cookie to see if the user wanted to be remembered became quite an ordeal. My solution was to set/get the cookie using JavaScript. There are some skeptics out there though. So, for them, I've created a very simple website solution that tries to set and get the remember me cookie as explained above. The challenge is to modify the solution so that it DOES work.

1 comment |category: |Views: 13

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by xerratusxerratus(415) 5 years, 6 months ago 0

Adi has come up with a solution. See original post for his source. Congrats Adi!

Reply

information Login or create an account to comment on this story