如何从ASP.net到经典ASP页面获取会话值? [英] How to get the session values from ASP.net to Classic ASP Pages?

查看:70
本文介绍了如何从ASP.net到经典ASP页面获取会话值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如何从ASP.net到经典ASP页面获取会话值.

当我发布ASP.net页面时,它将转到经典的ASP页面.

在asp页面中,我想从asp.net获取会话详细信息.

Hi,

How to get the session values from ASP.net to Classic ASP Pages.

When i post the ASP.net page, it will goes to the classic asp page.

In the asp page, i want to get the session details from asp.net.

How to do this in Classic ASP from ASP.Net...?

推荐答案

由于asp.net的会话存储在服务器端,因此您将无法执行此操作.在asp中访问它.为此,您可以在asp.net中使用cookie,因为它们存储在客户端
As session of asp.net is stored on server side, you will not be able to access it in asp. You may use cookies in asp.net for this purpose as they are stored on clientside


请查看下面的文章.它在MSDN上很老(2003年)的文章,但听起来很有趣而且很有用.

http://msdn.microsoft.com/en-us/library/aa479313.aspx
Have a look at below Article. Its pretty old(2003) Article on MSDN but sounds interesting and useful.

http://msdn.microsoft.com/en-us/library/aa479313.aspx


这篇关于如何从ASP.net到经典ASP页面获取会话值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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