Retrive Autogenerated machinekey



Hi

We currently use FormsAuthentication functions to encrypt and decrypt
our cookies. Unfortunatly when this was first implemented (not by me
honest!!) the machinekey was left to Autogenerate.

We now need to role out a second server to work with NLB. I know that
we need to specify a key to allow cookies to be decrypted on both
servers, so is there anyway that we can retrieve the autogenerated one
from the LSA or does anyone have any good strategies how we can work
round this.

Thanks for your help

Blakey

.



Relevant Pages

  • Re: Retrive Autogenerated machinekey
    ... can you generate a new one for both machines - the worst thing that can happen is, that all users have to reauthenticate. ... the machinekey was left to Autogenerate. ... We now need to role out a second server to work with NLB. ... we need to specify a key to allow cookies to be decrypted on both ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Applications sharing Forms Authentication
    ... Perhaps since I'm not defining a the validationKey is being set to "autogenerate" making the second app unable to decrypt the cookie data the first app is creating. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: [PHP] Encryption failing
    ... make sure $text is setup right ... if you want to use this via cookies, GET, POST, etc. i would ... then decrypt ...
    (php.general)