Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

formsauthentication.decrypt returns null in server with 4.5 version installed

$
0
0

Hello,

I have problem with Decrpt method of FormsAuthentication.

I have 2 server 2003  for my website: 

Server 1 with 4.0 Framework installed

Server 2 with 4.5 Framework installed

The probleme is server 2 return always null for this :

FormsAuthentication.Decrypt(authCookie.Value)

In my web.config i have the same MachineKey and i have added the compatibilityMode 

<system.web>     <machineKey validationKey="...." decryptionKey="...." validation="SHA1" compatibilityMode="Framework20SP1" />

Can any one help me ?

Thx.


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>