0
kicks
.NET 2.0 FormsAuthentication Remember Me Challenge
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.