FormsAuthentication.Decrypt problem
Hello,
i have an problem with the FormsAuthentication.Decrypt(EncryptedTicket) function.
When i try to decrypt the EncryptedTicket : an exception occur.
I think that the problem come from the lenght of data.(i try different key)
The complete error message :
"Application Date exception : 2007-12-21 14:49:06
tApplication Page : /InventaireEO/Gestion/ExportPlanAction.aspx
Error Source : System.Web
Error Methode : System.Web.Security.FormsAuthenticationTicket Decrypt(System.String)
Error Message : Invalid value for 'encryptedTicket' parameter.
Error Stack Trace : at System.Web.Security.FormsAuthentication.Decrypt(St ring encryptedTicket)
at Gvf.Referentiel.Structure.EO.Inventaire.Web.Contro ller.WebSecurity.Decrypt(String ciphertext) in F:\\Projets\\AppWebs\\InventaireEO\\controller\\We bSecurity.cs:line 47
at Gvf.Referentiel.Structure.EO.Inventaire.Web.gestio n.ExportPlanAction.GetParams() in F:\\Projets\\AppWebs\\InventaireEO\\gestion\\Expor tPlanAction.aspx.cs:line 113
at Gvf.Referentiel.Structure.EO.Inventaire.Web.gestio n.ExportPlanAction.Page_Load(Object sender, EventArgs e) in F:\\Projets\\AppWebs\\InventaireEO\\gestion\\Expor tPlanAction.aspx.cs:line 64
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain()"
Who can help me?
Thanks
|