I've been having a problem with Forms Authentication in ASP.NET, and was having a really tough time tracking it down. I finally found it, mostly through trial and error.
Apparently, in web.config, the cookie path is case sensitive.
I had "/MyPath" as the <forms> name attribute, and this was causing an endless redirect loop - changing it to "/mypath" makes it work perfectly.
I wonder where the all-lower-case version of "/mypath" is that the forms tag has to match?
8:33:24 AM
|