Check Cookie Mvc

[Solved] Check Cookie Mvc | Php Frameworks Yii - Code Explorer | yomemimo.com
Question : check cookie mvc

Answered by : poised-parrot-sblqdjjgxlb5

 public static int CookiesReturn() { HttpCookie cookie =HttpContext.Current.Response.Cookies["userName"]; if (cookie != null) string username = Server.HtmlEncode(cookie.Value); }

Source : https://stackoverflow.com/questions/43962199/how-can-i-read-cookies-in-asp-net-mvc-method | Last Update : Wed, 15 Jul 20

Answers related to check cookie mvc

Code Explorer Popular Question For Php Frameworks Yii