Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I have a problem with session sharing between classic asp and asp.net applications. We have application in classic ASP written in vbscript and ASP.NET application in c#. All business logic is in classic ASP, but now we developing new version in .NET. For now we have only UI in ASP.NET and client want that user log in on ASP.NET application and be able to use functionality in classic ASP site. This two application are hosted on different servers but will be in same domain. (For example app1.domain.com is asp and domain.com is aspx site). I know that I need session sharing between this two app and I', trying to implement solution given in this article: http://msdn.microsoft.com/en-us/library/aa479313.aspx[^] . My question is, will this work for my case, so that i can share session between this apps on different servers within the same domain? This solution use cookies to send session ID. I tried this with this two application on same server, but I'm not sure will this work when it's deployed on different servers.
Posted
Comments
ZurdoDev 6-Dec-12 12:26pm    
Yes, it should work. Essentially you have to manage the session objects in a SQL db and both ASP and ASP.Net will need to track the same session ID so that you can set and retrieve values from the db accordingly.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900