Is application variable will be common for both classic asp and asp.net?

205 Views Asked by At

Our application is combination of classic asp and asp.net. Can we access same application variable in classic asp which is defined in asp.net .

2

There are 2 best solutions below

2
On

No, if the classic asp files are getting run separate from the asp.net web application, they will run in different address space and will not share the application or session context.

0
On

No, I think they will run in a different address space and will not share the application or session context. You can use the given link to understand How to Share Session State Between Classic ASP and ASP.NET: https://msdn.microsoft.com/en-us/library/aa479313.aspx