PDA

View Full Version : communityserver.org software setup


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

bruce
04-07-2007, 12:19 AM
Are getting any errors?


I think using MS SQL session should resolve your problem. See http://kb.discountasp.net/article.aspx?id=10350


Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

paragonmatrix
04-07-2007, 12:55 AM
No errors, the users just have to login over and over again. Sometimes it saves their login for a few pages, sometime its gone on the next reload.

Will see if the communityserver.org can support this

Remember this is not a custom app, its one that you guys advertise quite heavily on your site :)

paragonmatrix
04-07-2007, 07:11 AM
This might of been fixed, for anyone else who finds this I used this solution:

http://communityserver.org/forums/t/461658.aspx

bruce
04-09-2007, 05:59 AM
Cool.. thank you for sharing.


Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)