【发布时间】:2012-09-05 05:25:41
【问题描述】:
我使用 MVC3 的默认登录模型。 LogOn 部分视图在 Layout 视图中。
@Html.Partial( "~/Views/Home/LogOn.cshtml", new MyProject.Models.LogOnModel() )
登录后Url为:
http://localhost:20234/?UserName=TestUsername&Password=121212&RememberMe=True
我不想在 URL 中看到密码。 如何从 URL 中删除密码(还有用户名、RememberMe)?
【问题讨论】:
标签: asp.net-mvc-3 url routing url-routing