如何在PHP页面中使用.NET会话ID? [英] How to use .NET session id in PHP page?

查看:61
本文介绍了如何在PHP页面中使用.NET会话ID?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用vb.net制作软件,我希望借助php显示其中一个页面。当我点击vb.net中的按钮时,它会在php代码的帮助下直接显示在线。怎么可能呢?



我尝试了什么:



仍然我找不到完美的答案。

I am making software using vb.net and one of the page i want to show with the help of php. When i clicked button in vb.net, it directly show to online with the help of php code. how can it possible?

What I have tried:

still i can't find perfect answer for this.

推荐答案

我认为没有任何直接的方法将会话变量从一个应用程序转移到另一个应用程序,作为会话变量仅使用浏览器对象创建。甚至来自同一浏览器的两个标签都有不同的会话对象。

我认为数据库可能是两个应用程序之间共享的好方法。或者基本的想法是将SESSION参数存储在数据库表中,不同的应用程序检查是否存在这些SESSION值。

以下链接可能对您有用

如何在经典ASP和ASP.NET之间共享会话状态 [ ^ ]
I don't think there is any direct way to transfer session variable from one application to other, as session variable is created with browser object only. even both tabs from same browser has different session objects.
I think database may be the good way to share between two application. OR The basic idea is that you store SESSION parameters in a database table and different apps check if those SESSION values exist.
Below link may be useful for you
How to Share Session State Between Classic ASP and ASP.NET[^]


这篇关于如何在PHP页面中使用.NET会话ID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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