J
JC
I have several applications that use forms authentication and they are
currently setup to use a single login page. Everything works fine under v1.0
of the framework and everything works fine if I have all applications
running under v1.1.
However, I need the login page and a few apps to be running under using v1.0
with other applications running under v1.1. Now my authentication cookie is
no longer being accepted anywhere other than by the v1.0 applications. The
path, name, and protection attributes for <forms> are identical in all
application. I've tried using an explicit <machinekey> and removing the
"isolateapps" attribute in the v1.1 machine.configs. Am I missing anything
else? I just consently get redirected back to the login page. Any help
would be appreciated thanks.
Here is what my web.config looks like in all applications.
<authentication mode="Forms">
<forms loginUrl="/Login/login.aspx"
name="appname"
protection="All"
path="/">
</forms>
</authentication>
I've tried using both:
<machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate"
validation="SHA1"/>
and explicitly defining the key in all apps.
<machineKey
validationKey='470D7418106FE78774FB509A10A94BB9839567B38C0A91CBFE0241C3647F0
1E8B12FBA2EC0AB5C0B947260D12AD85B34085C91659A5802AF006D027B1F0A117D'
decryptionKey='3A6FF62768FAEA2213FB64703827ED533B6CAB6AED3A1550'
validation='SHA1'/>
currently setup to use a single login page. Everything works fine under v1.0
of the framework and everything works fine if I have all applications
running under v1.1.
However, I need the login page and a few apps to be running under using v1.0
with other applications running under v1.1. Now my authentication cookie is
no longer being accepted anywhere other than by the v1.0 applications. The
path, name, and protection attributes for <forms> are identical in all
application. I've tried using an explicit <machinekey> and removing the
"isolateapps" attribute in the v1.1 machine.configs. Am I missing anything
else? I just consently get redirected back to the login page. Any help
would be appreciated thanks.
Here is what my web.config looks like in all applications.
<authentication mode="Forms">
<forms loginUrl="/Login/login.aspx"
name="appname"
protection="All"
path="/">
</forms>
</authentication>
I've tried using both:
<machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate"
validation="SHA1"/>
and explicitly defining the key in all apps.
<machineKey
validationKey='470D7418106FE78774FB509A10A94BB9839567B38C0A91CBFE0241C3647F0
1E8B12FBA2EC0AB5C0B947260D12AD85B34085C91659A5802AF006D027B1F0A117D'
decryptionKey='3A6FF62768FAEA2213FB64703827ED533B6CAB6AED3A1550'
validation='SHA1'/>