Click here to Skip to main content
14,543,933 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi I have a problem with session sharing between classic asp and 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 is asp and is aspx site). I know that I need session sharing between this two app and I', trying to implement solution given in this article:[^] . 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.
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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100