FormsAuthenticationTicketをクッキーに保存するときに、FormsAuthentication.Encryptで暗号化しておく。
FormsAuthentication.Encrypt(FormsAuthenticationTicket) メソッド (System.Web.Security) | Microsoft Docs
login.aspxで、
暗号化文字列を出してみる。
ログインすると、
長い暗号化文字列になっている。
FormsAuthenticationTicketをクッキーに保存するときに、FormsAuthentication.Encryptで暗号化しておく。
FormsAuthentication.Encrypt(FormsAuthenticationTicket) メソッド (System.Web.Security) | Microsoft Docs
login.aspxで、
暗号化文字列を出してみる。
ログインすると、
長い暗号化文字列になっている。