开发者

FormsAuthentication.SetAuthCookie loosing User.Identity.Name

开发者 https://www.devze.com 2023-03-29 07:41 出处:网络
We are logging in users via FormsAuthentication.SetAuthCookie User.Identity.IsAuthenticed then becomes true and the User.Identity.Name is w/e we provided to the SetAuthCookie method.

We are logging in users via FormsAuthentication.SetAuthCookie

User.Identity.IsAuthenticed then becomes true and the User.Identity.Name is w/e we provided to the SetAuthCookie method.

As time goes by, or you close the browser, Use开发者_如何学运维r.Identity.Name get's lost yes IsAuthencticated is still true.

Any ideas?

0

精彩评论

暂无评论...
验证码 换一张
取 消