坚持从会话ASP.NET到PHP [英] Persist Session from ASP.NET to PHP

查看:131
本文介绍了坚持从会话ASP.NET到PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有创造的时候成功登录会话的ASP.NET登录表单。它使用POST。

I have an ASP.NET login form which creates a session when successfully logged in. It uses POST.

我想在PHP结束检索此会话数据,但不能确定如何实现这一目标。

I'd like to retrieve this session data in the PHP end but unsure how to achieve this.

会话名称是'CUSTOMER_LOGGED_IN。

The session name is 'CUSTOMER_LOGGED_IN'.

我用'在session_start()在我的PHP模板的头坚持会话,它确实,但我不能确定如何然后显示在我的PHP模板的会话数据。

I use 'session_start()' in the header of my PHP template to persist the session, which it does, but I'm unsure how to then display the session data in my PHP template.

任何人都可以帮助?

对于任何指针非常感谢。

Many thanks for any pointers.

推荐答案

您最好的选择是指出,在外部存储存储会话信息,如ASP.NET和PHP都将有机会获得SQL数据库PROC会话。

Your best bet is out of proc session that stores session information in an external storage such as sql database that both ASP.NET and PHP will have access.

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

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