Is there a way to stop generation of random machinekey for each web
application created in Sharepoint? I would like the same static machinekey
for all my sharepoint web applications. The reason why I need this is because
I would like to pass a formsauthentication ticket to my sharepoint site and
the sharepoint site is unable to decrypt due to the machinekey difference.
Here is what I have already tried:
- I have added my static key to the machine.config, machine.config.comments
and machine.config.default. I have reset IIS. Unsuccessful.
- I have added my static key to web.config.comments in the 12 hives folder.
I have reset IIS. Unsuccessful.
- I have commented out the autogenetated key and added my static key to the
web.config file of the sharepoint web application. Unsuccessful.
Please help. Any help would be appreciated. Thanks.