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).
我们有一个大型的经典ASP网站,我们想要开始在。net中编写新的代码(这个网站在这个阶段要重写100%)。
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?
旧的网站使用会话变量,这些仍然可以在。net页面中访问吗?如果不能,(我怀疑)我们能做些什么来让它们可以访问吗?
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?
新的部分是可分离的,也就是说它与站点的其他部分是独立的,所以在。net中编写应该没问题,它只是对我们很重要的会话。我们需要另一个登录页面吗?
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?
使用ajax创建一个本地。net页面,当他们登录到旧站点时设置会话信息,这种做法有多糟糕?我们可以这样复制会话数据吗?
1 个解决方案
#1
3
How to Share Session State Between Classic ASP and ASP.NET (MSDN)
如何在经典的ASP和ASP之间共享会话状态。净(MSDN)
SO topics:
所以主题:
Classic ASP to ASP.Net one-off session data copy
经典ASP ASP。Net一次性会话数据拷贝
Classic ASP and ASP.NET Integration
经典的ASP和ASP。网络集成
#1
3
How to Share Session State Between Classic ASP and ASP.NET (MSDN)
如何在经典的ASP和ASP之间共享会话状态。净(MSDN)
SO topics:
所以主题:
Classic ASP to ASP.Net one-off session data copy
经典ASP ASP。Net一次性会话数据拷贝
Classic ASP and ASP.NET Integration
经典的ASP和ASP。网络集成