跨域应用程序平台 [英] Cross Domain Application & Platform

查看:160
本文介绍了跨域应用程序平台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用MVC 2构建RESTful服务,以从多个应用程序(Android,PHP,Java,ASP.net)使用-

我需要该服务来提供可在各种平台上使用的登录机制(例如Session).是否有关于如何实现此目标的指南?

我尝试在服务上使用会话,但是每次从另一个网站发出请求时,它的值始终为null.

谢谢

Hi,

I''m using MVC 2 to build a RESTful service to be consumed from multiple applications (android, php, java, ASP.net)-

I need the service to provide login mechanism (ex. Session) that can be used across platforms. Is there any guide on how to achieve this?

I tried using session on the service but it''s value is always null, every time a request is made from another website.

Thanks

推荐答案

您好

在这里您将获得基本思想

跨域/平台身份验证和数据传输

谢谢
Hi

Here you will get the basic idea

Cross Domain/Platform Authentication and Data Transfer

Thanx


它可能对您有帮助
http://www.code-sample.com/2013/11/ajax-json-cross-domain-call-to-rest.html [
It might help you
http://www.code-sample.com/2013/11/ajax-json-cross-domain-call-to-rest.html[^]


这篇关于跨域应用程序平台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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