Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building a .net application on classic ASP

We have a big classic ASP website, and we want to start writing new code in .net, (the website is way to big to rewrite 100% at this stage).

The old website uses session variables, will these still be accessible in the .net pages, and if not (which I suspect) is there anything we can do to make them accessible?

The new section is detachable, that is it is pretty much independent from the rest of the site so should be fine to write in .NET, it's just sessions which are important to us. Do we need another login page?

How bad practise would it be to ajax a local .net page which sets session info when they login to the old site? Can we copy session data this way?

like image 468
Tom Gullen Avatar asked Jan 24 '26 06:01

Tom Gullen


1 Answers

How to Share Session State Between Classic ASP and ASP.NET (MSDN)

SO topics:

Classic ASP to ASP.Net one-off session data copy

Classic ASP and ASP.NET Integration

like image 113
Artem Koshelev Avatar answered Jan 25 '26 18:01

Artem Koshelev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!