Question

MSDN : machineKey

Configures algorithms and keys to use for encryption, decryption, and validation of forms-authentication data and view-state data, and for out-of-process session state identification

Specifically which methods in FormsAuthentication make use of validationKey and encryptionKey values?

Was it helpful?

Solution

The methods in FormsAuthentication that use validationKey and encryptionKey are the FormsAuthentication.Encrypt and FormsAuthentication.Decrypt methods.

One more link explaining how it works.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top