Forms Authentication in MVC 3 fails in Safari / production
I'm using Forms Authentication in MVC 3 and all works great on my development wo开发者_JAVA百科rkstation, but when I post to the production environment authentication fails... but ONLY for Safari. It works great in IE, Firefox and Chrome, but not Safari.
Any pointer would be most appreciated!
EDIT:
It seems that setting a non-persistent cookie works:
FormsAuthentication.SetAuthCookie(user, false);
So this would appear to be something to do with the expiry date?
Anything particular about expiry date and Safari?
ASP.NET Forms Authentication with Windows Safari
精彩评论