Ok, we've appeared to have fixed this by adding a machineKey to the system.web section of the applications web.config.
See article and code at http://www.codeproject.com
I guess that what was happening was that when the site recycled (every couple of days) it meant the cookie was no longer associated with the recycled site as it had a different machine key.
Anyway, all appears to be working now.
Thanks.
Main Topics
Browse All Topics





by: ripahoratiuPosted on 2008-08-19 at 06:00:50ID: 22259308
Hmmm nothing seems to be wrong....
1. Is this behavior the same. regardless of browser?
2. If you're using two different machines do they "lose" their cookie (ask for authentication) at the same time?
I think this looks like a server restart...