【发布时间】:2016-09-13 06:40:13
【问题描述】:
我必须在登录时设置FormsAuthentication cookie 值(FormsAuthentication.SetAuthCookie(UserDesignation, false))。
现在我需要提供指定更改选项。因此,当用户更改其名称时,我需要将 FormsAuthentication cookie 值从旧名称更新为新名称。
有可能吗?
如果是意味着,我该怎么做?
【问题讨论】:
标签: asp.net-mvc cookies forms-authentication setcookie formsauthentication