Method, system, and browser realizing cross-domain request login

A browser and cross-domain technology, applied in the Internet field, can solve problems such as inability to realize cross-domain requests, mutual calls, and insufficient flexibility in the implementation process
CN104426862AActive Publication Date: 2015-03-18TENCENT TECH (SHENZHEN) CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
TENCENT TECH (SHENZHEN) CO LTD
Publication Date
2015-03-18

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention relates to a method, a system, and a browser realizing cross-domain request login. The method comprises: a first domain business server acquiring an authentication string of a second domain and writing in a cookie of the first domain after the browser is successful in logging in the first domain, and sending the cookie to the browser; when the browser receives an access request on the second domain, revising the domain name of the access request of the second domain to a dependence domain of the first domain with a second domain specific identification, and sending the request with the cookie of the first domain to a first domain access server; and the first domain access server determining the current request to be the access request of the second domain through domain name matching and recognition, acquiring the authentication string of the second domain from the cookie of the first domain, writing the authentication string into the second domain cookie, carrying the second domain cookie in the access request of the second domain, and transferring the access request of the second domain to a second domain business server. Thus, cross-domain authentication request is completed, so that a front end does not have a problem of cross-domain. The method, the system, and the browser are flexible to realize and are low in cost.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of Internet technologies, in particular to a method, system and browser for realizing cross-domain request login based on nginx (an access server). Background technique

[0002] When accessing a web page through a browser, it usually involves cross-domain request access. Among them, the cross-domain request refers to the resources in one domain name site to access the resources on another different domain name site. Cross-domain request access can distribute requests to different servers, reducing the pressure on a single server to improve response speed; in addition, different business logic can be distributed to different servers to reduce load.

[0003] At present, the cross-domain request methods for implementing single sign-on with authentication state mainly include JSONP cross-domain request, iframe-embedded page request method in the second domain, and server-side relay request method.

[0004] Among them, J...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More