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

Having trouble using machine key to maintain authentication

$
0
0

This site I have issue is using .net 4.  The users come on to a landing page where they login. From there once they login, it gives them an option to go onto a different site site. Each of these sites require them to be logged in first. To be allowed to do this all sites would have to contain the same machine key  and the forms auth information information in web config. All theses sites have the same info.  However, when I login and try to go to one of these sites it's redirecting me that I am not authenticated.

Now I have a website that does the exact same thing built in 3.5, with the same configurations and I have no issues there. 

Both sites are being hosted on Microsoft Server 2008.

This is the machine key format I am using:

<machineKey validationKey="xXx" decryptionKey="YyY" validation="SHA1" decryption="AES" />

Is there some setting in IIS i need to make to get this to work?


Viewing all articles
Browse latest Browse all 4737

Trending Articles