paragonmatrix
04-06-2007, 09:55 AM
I have moved a CS based site from a dedicated server to discountasp.net
Everything works great except users can not stay logged in. From the research ive done it seems to be from the machinekey setting in the web.config file. Because discountasp.net uses a web farm, this machine key is not specific because a users might hit different servers when viewing the site.
So does anything know the proper setup for this? Or what might be causing the issue? Here is the code i have now:
<appSettings>
<add key="SiteSqlServer" value="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" />
<add key="SiteSqlServerOwner" value="dbo" />
<add key="MachineValidationKey" value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902" />
<add key="MachineDecryptionKey" value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902F8D923AC" />
<add key="MachineValidationMode" value="SHA1" />
<add key = "ComponentArt.Web.UI.ClientScriptLocation" value = "~/Utility/componentart_webui_client" />
</appSettings>
DB info has been X'd out.
Thanks,
Sean
Everything works great except users can not stay logged in. From the research ive done it seems to be from the machinekey setting in the web.config file. Because discountasp.net uses a web farm, this machine key is not specific because a users might hit different servers when viewing the site.
So does anything know the proper setup for this? Or what might be causing the issue? Here is the code i have now:
<appSettings>
<add key="SiteSqlServer" value="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" />
<add key="SiteSqlServerOwner" value="dbo" />
<add key="MachineValidationKey" value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902" />
<add key="MachineDecryptionKey" value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902F8D923AC" />
<add key="MachineValidationMode" value="SHA1" />
<add key = "ComponentArt.Web.UI.ClientScriptLocation" value = "~/Utility/componentart_webui_client" />
</appSettings>
DB info has been X'd out.
Thanks,
Sean