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...
384e9336-da43-4b9a-aa15-eec9a3997c1d|1|5.0
Tags:
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.
e55a586d-d069-48cb-9691-e3d304e9add0|2|5.0
Tags: