小编dav*_*vee的帖子

User.Identity.IsAuthenticated始终为True

有人能告诉我如何处理验证模式@ asp.net mvc 3?我的webconfig没有标签认证的条目,因为我不知道哪种模式是可以适应的!

参考标题:

我想隐藏一些导航按钮@View,我尝试使用"if(User.Identity.IsAuthenticated)",但这总是正确的,即使我没有登录(在网站上!)

有人有想法?

最好的祝福

authentication asp.net-mvc web-config

3
推荐指数
1
解决办法
5868
查看次数

标签 统计

asp.net-mvc ×1

authentication ×1

web-config ×1