473,386 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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

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="1325280F7B3FA07743BD836031D641C5944 D0333D9144580D009BC198CEC609C9864FDC321570FA6FFF09 95A1D707D623422D47A00FE3AC66ABC59763D20F0CA"

decryptionKey="250E5BF69C0FBDB0F2DD02DC5C05D5DF350 03F79DD7E9942"
validation="SHA1" />

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

<machineKey
validationKey="1325280F7B3FA07743BD836031D641C5944 D0333D9144580D009BC198CEC609C9864FDC321570FA6FFF09 95A1D707D623422D47A00FE3AC66ABC59763D20F0CA"

decryptionKey="250E5BF69C0FBDB0F2DD02DC5C05D5DF350 03F79DD7E9942"
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.
Feb 20 '08 #1
1 1697
Two different applications cannot share session state between them,
regardless of the ASP.NET version.

-- Peter
Site: http://www.eggheadcafe.com
UnBlog: htp://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net
"rh******@gmail.com" wrote:
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="1325280F7B3FA07743BD836031D641C5944 D0333D9144580D009BC198CEC609C9864FDC321570FA6FFF09 95A1D707D623422D47A00FE3AC66ABC59763D20F0CA"

decryptionKey="250E5BF69C0FBDB0F2DD02DC5C05D5DF350 03F79DD7E9942"
validation="SHA1" />

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

<machineKey
validationKey="1325280F7B3FA07743BD836031D641C5944 D0333D9144580D009BC198CEC609C9864FDC321570FA6FFF09 95A1D707D623422D47A00FE3AC66ABC59763D20F0CA"

decryptionKey="250E5BF69C0FBDB0F2DD02DC5C05D5DF350 03F79DD7E9942"
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.
Feb 21 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Greg Bryant | last post by:
I'm trying to extend an existing site written in CF. We're going to move it to PHP at some point in the near future, but in the meantime, I'd like to add some minor new features, and can steal...
3
by: grooby | last post by:
I would like to develop an asp.net Web application using muliple web projects under one solution file and share the session information between web applications( or projects). Is this possible?
3
by: Philip Tepedino | last post by:
I'm having an odd problem. My website's session state is getting shared between users! This problem only happens when a user tries to access the site from inside our corporate LAN. The user,...
14
by: Venkat Chellam | last post by:
I have a peculiar problem. I have a simple web application which loads some data from the oracle table and display in the datagrid in the webpage and datagrid has page enabled which shows 10 rows...
5
by: Nils Hedström | last post by:
Sorry about my last post. There seems to be a bug in my newsreader-software. My company (companyA) has bought companyB. The website of companyA is www.companyA.com and comanyB's website is...
4
by: qube3 | last post by:
We have applications written by JSP/Servlet and ASP.NET. All our future development would be based on ASP.NET. We wants to develop a single user interface so that users would not be aware that...
1
by: Vikas | last post by:
Hi, I am facing a very typical problem. I have a wizard like application, where user enters information by moving back & forth between the pages. At the end of wizard the data is submitted...
8
by: antonyliu2002 | last post by:
We are extending a web application written in classic ASP long time ago. We will add more components to this web application in ASP.NET 2.0. To use the web application, our web users will have...
1
by: Olivier Matrot | last post by:
I have a problem with an ASP.NET 2.0 Application. A client request is processed in parrallel by two threads. After further analysis, it appears that : - There is 2 disctinct session for the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.