经典ASP和ASP.NET之间的会话共享 [英] Session sharing between classic ASP and ASP.NET

查看:80
本文介绍了经典ASP和ASP.NET之间的会话共享的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨我在经典asp和asp.net应用程序之间的会话共享方面存在问题。我们在c#中用vbscript和ASP.NET应用程序编写的经典ASP中有应用。所有业务逻辑都在经典ASP中,但现在我们在.NET中开发新版本。目前我们只有ASP.NET中的UI,客户端希望该用户登录ASP.NET应用程序并能够使用经典ASP站点中的功能。这两个应用程序托管在不同的服务器上,但将位于同一个域中。 (例如app1.domain.com是asp,domain.com是aspx站点)。我知道我需要在这两个应用程序和我之间进行会话共享,尝试实现本文中给出的解决方案: http://msdn.microsoft.com/en-us/library/aa479313.aspx [ ^ ]。我的问题是,这是否适用于我的情况,以便我可以在同一域内的不同服务器上共享此应用程序之间的会话?此解决方案使用cookie来发送会话ID。我在同一台服务器上用这两个应用程序尝试了这个,但我不确定它是否可以在不同的服务器上部署。

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.

推荐答案

查看此链接 http://searchwindevelopment.techtarget.com/tip/Share-session-状态介于ASP和ASPNET应用程序之间 [ ^ ]


这篇关于经典ASP和ASP.NET之间的会话共享的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆