I use a simple method to create cookies.
FormsAuthentication.SetAuthCookie(model.UserName, model.RememberMe); return RedirectToAction("Index", "Dashboard");
Somehow I debugged my application and found that it was User.Identity.IsAuthenticatedalways false and User.Identity.Namealso zero.
User.Identity.IsAuthenticated
User.Identity.Name
Note. The above behavior applies only to SAFARI and works great with other browsers like IE, Firefox and Chrome.
I know that my questions are duplicated, and Google gave me enough links to solve, but I can not fix my problem. I am using .NET 4.5 and the Safari version is 5+.
, , .. cookie ? cookie, . , Google. .
cookie FormsAuthentication.SetAuthCookie(model.UserName, model.RememberMe);
cookie , , cookie Safari. , .
cookie , cookie , . , , , .
Source: https://habr.com/ru/post/1617068/More articles:Cocoapods Podspec Source Support HTTP Authentication - iosSubmission to the card and list in parallel from one list - javaLinks on the page do not work - javascriptКак суммировать ArrayList <Целые числa> с помощью рекурсии? - javaAndroid preference dialogue style - androidCookie ASP.NET Forms Authentication not installed in Safari - safariStructTS model (Kalman Filter) in R incorrectly installed - rKeyboard shortcut with broken gnome terminal - linuxng-mousedown и ng-mouseup не работают в мобильном телефоне - javascriptGolang map len () reports> 0 when the map is empty - goAll Articles