在不同服务器上托管的PHP网站和ASP.NET网站之间的数据传输 [英] Data Transfer Between PHP website and ASP.NET website hosted on different servers

查看:61
本文介绍了在不同服务器上托管的PHP网站和ASP.NET网站之间的数据传输的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我们有一个使用PHP(Wordpress)和MySQL开发的网站,另一个是使用SQL SERVER在ASP.NET中开发的网站.我希望该用户在PHP网站的登录表单中输入用户名和密码,然后重定向到ASP.NET网站.欢迎页面,他将在其中创建一些设计并退出.

设计好的文件必须转移到PHP网站..我没有办法做到这一点..如果有一些示例作为答案,那将是真的适用..

谢谢..
Satish Malhotra

Hi,
We have a website developed in PHP (Wordpress) with MySQL and another on in ASP.NET with SQL SERVER..I want that user will enter username and password on the login form in PHP website and redirected to ASP.NET website''s welcome page, where he will create some design and logged out.

That designed file has to be transfer to PHP website.. I am not getting the way to do this..If some example would come as answers, it will be really appriciable..

thanks..
Satish Malhotra

推荐答案

为此使用Web服务.在一个应用程序上进行Web服务,结果将返回您想要的数据.
Use web service for this. make webservice at one application and as a result it returns data which you want.


只需在查询字符串中使用(加密的)密码和用户ID向aspx页面发出请求,并且登录名有效,请重定向到相应的aspx页面.
Just do a request to the aspx page with the (encrypted) password and userID in the querystring, and if the login is valid, redirect to the appropriate aspx page.


这篇关于在不同服务器上托管的PHP网站和ASP.NET网站之间的数据传输的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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