我必须在登录时设置FormsAuthenticationcookie值(FormsAuthentication.SetAuthCookie(UserDesignation, false)).现在我需要提供指定更改选项.因此,当用户更改其名称时,我需要将FormsAuthenticationcookie值从旧指定更新为新指定.
有可能吗?
如果是的话,我该怎么做?
cookies asp.net-mvc forms-authentication setcookie formsauthentication