_:n141686e6ad3c43cba47368f8d32e654fxb7
<http://schema.org/text>
"Tu aurais pas aussi le code que tu as écrit ?\r\n\r\nUn encryptage / decryptage simple :\r\n\r\n//Ticket d'authentification, sans persistance, timeout 10 minutes\r\n\r\nFormsAuthenticationTicket myTicket= \r\nnew\r\nFormsAuthenticationTicket(user, \r\nfalse, 10);\r\n\r\n//Encryptage du ticket\r\nString myTicketCrypt = \r\nFormsAuthentication.Encrypt(ticket);\r\n\r\n...\r\n\r\n//Decryptage du ticket\r\nmyTicket = \r\nFormsAuthentication.Decrypt(myTicketCrypt );\r\n\r\n"
<https://codes-sources.commentcamarche.net/forum/affich-1053301-formsauthentication-probeme>