小编LTA*_*LTA的帖子

是否可以更新FormsAuthentication cookie值?

我必须在登录时设置FormsAuthenticationcookie值(FormsAuthentication.SetAuthCookie(UserDesignation, false)).现在我需要提供指定更改选项.因此,当用户更改其名称时,我需要将FormsAuthenticationcookie值从旧指定更新为新指定.

有可能吗?

如果是的话,我该怎么做?

cookies asp.net-mvc forms-authentication setcookie formsauthentication

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