473,395 Members | 2,079 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,395 software developers and data experts.

Cookie not found after redirect from asp to asp.net 2.0

Hello,

We are currently migrating our system from asp to asp.net. Our main
page is still using classic asp. When a user logs in to the system, a
cookie is created with the user info. The user then clicks a link;
which is a seperate application written in asp.net 2.0.

ie. http://my.application.com/ (asp)
http://my.application.com/new2.0application (asp.net 2.0)

However the new application cannot find the cookie created from the
login (asp).

My only theory is that cookies are not accessible between application
pools, as the asp.net 1.1 applications read the login cookie just fine.

Any insight into this matter would be greatly appreciated.
Thanks in advance.

Regards,
Michael

Aug 16 '06 #1
2 1366
I'm a little confused about the reference to "1.1" but...your suspicion is
correct. The applications are separate and cannot share the session cookie.
However, if there is information you want to POST to the .NET application
from the ASP app then that would work.

--
Brad

"Software is like melted pudding..."
"te***********@gmail.com" wrote:
Hello,

We are currently migrating our system from asp to asp.net. Our main
page is still using classic asp. When a user logs in to the system, a
cookie is created with the user info. The user then clicks a link;
which is a seperate application written in asp.net 2.0.

ie. http://my.application.com/ (asp)
http://my.application.com/new2.0application (asp.net 2.0)

However the new application cannot find the cookie created from the
login (asp).

My only theory is that cookies are not accessible between application
pools, as the asp.net 1.1 applications read the login cookie just fine.

Any insight into this matter would be greatly appreciated.
Thanks in advance.

Regards,
Michael

Aug 16 '06 #2
Brad,

Thank you for your response.

Just to clarify, the ASP application is along several .NET 1.1
applications which all reside in the same default app pool configured
for 1.1. These 1.1 applications encounter no problems with the ASP
application, which is what led me to believe that the data cannot be
shared across the application pools.

Perhaps I could post the info using encrypted querystrings, but I'd
like to keep that as the last resort; unless of course it is my best
and/or only option?

Regards,
Michael

Brad Roberts wrote:
I'm a little confused about the reference to "1.1" but...your suspicion is
correct. The applications are separate and cannot share the session cookie.
However, if there is information you want to POST to the .NET application
from the ASP app then that would work.

--
Brad

"Software is like melted pudding..."
"te***********@gmail.com" wrote:
Hello,

We are currently migrating our system from asp to asp.net. Our main
page is still using classic asp. When a user logs in to the system, a
cookie is created with the user info. The user then clicks a link;
which is a seperate application written in asp.net 2.0.

ie. http://my.application.com/ (asp)
http://my.application.com/new2.0application (asp.net 2.0)

However the new application cannot find the cookie created from the
login (asp).

My only theory is that cookies are not accessible between application
pools, as the asp.net 1.1 applications read the login cookie just fine.

Any insight into this matter would be greatly appreciated.
Thanks in advance.

Regards,
Michael
Aug 16 '06 #3

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

Similar topics

6
by: Alexandre | last post by:
What's the best I can do to solve my trouble : I got a simple page index-tmp who include a code snippet who test if a cookie exist and if yes redirect to the user account page but the trouble is...
2
by: bagsmode | last post by:
Hi, I'm trying to set a session cookie and then redirect, however I get the error: Status: 302 Moved Location: /index.cgi I thought I recall getting an error like this when I first tried...
1
by: changed | last post by:
I'm having an inconsistent problem involving cookies. I have attempted to duplicate the OS/browser settings for the remote users in question but I cannot seem to duplicate the problem in any OS...
3
by: rodchar | last post by:
Hey all, I'm trying to gain more knowledge about state management and I found an MSDN Help article about cookies. I posted the short sample below. From what I read in the article if you do the...
1
by: Joe | last post by:
In ASP.NET 1.1 I could detected expired form authentication tickets (which closely coincide with my expired session) by checking for the Authentication Cookie when the login screen loads. If 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:
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.