Posted on: 11/17/2012 12:48:31 AM | Views : 370

Hello
I'm trying to create a single sign on solution using Forms authentication on 2 different websites under same domain and am running into problems. Consider the following config
Site 1 (http://login.my-domain.com): this is the central hub for logging in. in web config i have
<authentication mode="Forms"> <forms loginUrl="http://login.my-domain.com" name=".ASPXAUTH" protection="All" path="/" slidingExpiration="True" requireSSL="False" domain=".my-domain.com" timeout="720" /> </authentication>
<machineKey validationKey="somekey" decryptionKey="anotherkey" validation="SHA1" /> Site 2 (app1.my-domain.com). same identical (copy+paste) setup for Forms authentication and machineKey as in site 1.

site 1 is written to target framework 4.5 and is written in C#
Site 2 is written in target framework 3.5 and is written in vb.net
Both sites run on sam ...

Go to the complete details ...