FormsAuthentication, HttpModules, Machinekey, application pool recycling, encryption benchmarks, and the 'Remember me' checkbox

by Matt 22. June 2010 03:05

On one of my test sites, I received a report that the "Remember my password" feature wasn't working. We're using forms authentication tickets to store some of the user data, so I double and triple checked all the settings. They all seemed correct.

In Logon.cs we were setting a persistent cookie

// Set a persistant cookie
FormsAuthentication.SetAuthCookie(CurrentUser.MemberID, true);
And in web.config, the timeout is about a month
<authentication mode="Forms">
<forms loginUrl="~/Account" timeout="30240" slidingExpiration="true"></forms>
</authentication>
Let's explore how forms authentication works and see if we can reason out why this isn't working.
More...




Tags:

Okay, so. Hello.

by Matt 19. June 2010 03:23
In the coming days, I will work more on posting things about the new version of MegaBBS. Along the way, I would love to document various design challenges that we've overcome.

Kudos to the BlogEngine.Net folks for a crazy easy system. This was literally up and running in a matter of minutes.

At the moment, we are headed out to a another summertime grilled dinner here in the northern hemisphere. I would love to live near an ocean. My sappy wish is that everyone else on the planet enjoys life and friends.

Stay groovy, my kitties.

Tags:


Books I've been reading..


Tag cloud

    Month List

    About the author

    PD9 Software makes software that runs on the internet.

    Page List