Problem in Sharing Session between ASP.NET 1.1 & ASP.NET 2.0

R

rh.krish

I have an issue in sharing session between ASP.NET 1.1 & ASP.NET 2.0.
Here are the details.

The first application is the main application which runs in ASP.NET
1.1. This app has a link to the second application which runs in
ASP.NET 2.0. Both of them authenticate the users against Active
Directory (have custom code to do this). The expectation is once I
login to the 1st app, clicking on the link to 2nd app, should
automatically sign me in. But it's not.

I have the name, protection & path attributes and <machineKey>
elements are same in both apps as follows.

1. 1st App
<forms loginUrl="login.aspx" name="adAuthCookie" timeout="60" path="/"
slidingExpiration="true" protection="All" />

<machineKey
validationKey="1325280F7B3FA07743BD836031D641C5944D0333D9144580D009BC198CEC609C9864FDC321570FA6FFF0995A1D707D623422D47A00FE3AC66ABC59763D20F0CA"

decryptionKey="250E5BF69C0FBDB0F2DD02DC5C05D5DF35003F79DD7E9942"
validation="SHA1" />

2. 2nd App
<forms defaultUrl="index.aspx" loginUrl="Login.aspx"
name="adAuthCookie" timeout="20" path="/" slidingExpiration="true"
protection="All" />

<machineKey
validationKey="1325280F7B3FA07743BD836031D641C5944D0333D9144580D009BC198CEC609C9864FDC321570FA6FFF0995A1D707D623422D47A00FE3AC66ABC59763D20F0CA"

decryptionKey="250E5BF69C0FBDB0F2DD02DC5C05D5DF35003F79DD7E9942"
validation="SHA1"
decryption="3DES" />

Here are other technical details:

OS: Windows XP Profession Serviec Pack 2
IDE: Visual Studio 2003 (1st App), Visual Studio 2005 (2nd App)
Hosted in: Both the apps are hosted on the same IIS.

I've tried out all the options that I could think of. I need a
solution ASAP. If anyone can point me in the right direction, I would
greatly appreciate that.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top