Will setting static machineKey resolve FormsAuthentication issue in web farm??
-
My site is hosted on a shared server that is load balanced in web farm. I don't have access to IIS, machine config files, or anything that isn't directly related to my FTP space and my Sql Server(and that's limited). My Problem I now want to introduce an authentication process in to the site. I already have my own 'CreateAccount' and 'SignIn' asp.net pages(not using Asp.Net provided controls), and I want to use them with FormsAuthentication class. I want to know if adding static keys to machineKey section in MY SITE'S web.config (not machine web.configs) will resolve any potential issues with decrypted authentication cookies in web farm. I'm not familiar with the set up of farms but presumeably my site will be copied to several servers - all using the same web.config(my web.config) Hope I've made myself clear. Please ask me a question if you aren't sure of anything... Thanks for your time.... Mark
Mark Graham (MCP) // The Doodler blogging about C#, Asp.Net, and Design Patterns at: codeArch[^] and contributing at dotNet Notepad[^]