IE third-party settings cookie invalidation

Source: Internet
Author: User

Company's products, the use of multi-service allocation of pressure, the middle must be involved in a single point of landing. The general single sign-on is to go to the User Center login, 302 or page callback method, return to the pre-landing page.

Company projects, want to user experience better, using the frame landing, you can consider the IFrame or form submission method. IFrame needs to solve the problem of cross-domain communication, of course, there is a solution. If the form is submitted, there is a user name password error, or it needs to be handled in the User Center.

Finally select the JSONP scheme cross-domain commit, which also has some problems, security aspects of user name password get way passed, you can consider adding a signature to prevent the original password leakage.

In the use of Jsonp way landing, test feedback, ie no way to login, other browsers can be. The first reaction is that the third party set the cookie to expire, which was actually encountered before. Set the P3P header at the 3rd party site where you need to set the cookie.

Response (). AddHeader ("P3P", "cp=/" IDC DSP COR CURa ADMa our IND PHY ONL COM sta/");

  The master article referred to the minimalist way, did not try.

(Snail advertising system, there are also some reaction said is, at that time with their own cross-domain communication, a start is thought window.name caused problems, and then suddenly remembered, recently looked at the leader's article, the original browser security issues, need to set up P3P. )

IE third-party settings cookie invalidation

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.