jump to navigation

Multiple .NET Project Authentication November 23 2004

I have recently required the need for multiple projects to interact with each other, both of which required a Forms based authentication method.

Within each web.config I have the same ticket name for each (forms name=”")

Each web.config also needs the same “machinekey”. This is usally randomly generated however if you want two projects to work nicely together they need the same key.

<machineKey
validationKey=”BD52058A3DEA473EA99F29418689528A494DF2B00054BB7C”
decryptionKey=”684FC9301F404DE1B9565E7D952005579E823307BED44885″
/>

Within each authentication method, make sure to add the domain for the cookie being sent out. If these projects exist on the localhost, set the domain to nothing.

Reference : The Code Project

Comments

Sorry comments are closed for this entry