On Ajax cross-domain session and Cross-domain access _ajax related

Source: Internet
Author: User

I. About AJAX Cross-domain requests, with JSONP always unsuccessful, although you can return data, but error at the error. The reason is that the returned data format is not JSONP format. However, a request constructed with C # can return data.

Two. Third party AJAX requests must be unable to obtain the session of your current user.

The task is this, Alipay's page return notify page (this page is asynchronous access), and my C # processing has a processing module, need to judge if it is already logged in add integral and so on operation, the result is always get no session data, but clearly login ah. The misconception here is that our current domain is definitely logged in, but there is no login for the asynchronous request at the Alipay side.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.