使用System.Web.Security.FormsAuthentication.Encrypt()加密成功
但使用System.Web.Security.FormsAuthentication.Decrypt()解密时提示Padding is invalid and cannot be removed.
不知道是为什么,而且本地vista+ii7.0正常,上传到服务器w2003+iis6.0就出现这个问题。
为什么?
但使用System.Web.Security.FormsAuthentication.Decrypt()解密时提示Padding is invalid and cannot be removed.
不知道是为什么,而且本地vista+ii7.0正常,上传到服务器w2003+iis6.0就出现这个问题。
为什么?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货