'Remember Me' on sign in never works
I think this is working now.
Thanks for the pointers, they really helped – think it was the machine key setting in the end.
AdminFranz Junge (Admin, toepoke) commented
Thanks, I'll take a look :-)
Though to be honest I think it's something else I'm doing behind the scenes, but can't hurt to give it a go!
It looks like your using .net, if so I've run into the same issue several times, make sure you have the following set in the authentication.forms node of the web.config:
- cookieless="UseCookies" (shouldn't be required but add it for good measure)
- name=".MySiteCookieName" (helps avoid a clash with the cookie name if you're running multiple sites on the same box)
- slidingExpiration="true" (extends the timeout if you return to the site)
- timeout="43200" (that's 30 days which I tend to use, or do some similar number so login expires eventually, but not if you log in weekly etc)
Also set a machine key using the generator here http://www.developerfusion.com/tools/generatemachinekey/
Hope that helps