kenwarner
kenwarner

Reputation: 29120

Where is machineKey/validationKey used in FormsAuthentication?

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?

Upvotes: 4

Views: 3913

Answers (1)

Icarus
Icarus

Reputation: 63956

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

Upvotes: 4

Related Questions