发明名称 |
METHOD AND APPARATUS FOR ISOLATING PAGE COOKIE |
摘要 |
The present invention discloses a method and an apparatus for isolating a page cookie. The method includes: when a predetermined login account logs in, assigning an independent cookie storage for the predetermined login account; after a request of creating a page associated with the predetermined login account is acquired, establishing a mapping relation table for storing a mapping relation between a page view identification of the page associated with the predetermined login account and the independent cookie storage; when the page associated with the predetermined login account is loaded, looking up the mapping relation table; and initiating, according to the independent cookie storage corresponding to the page view identification of the page associated with the predetermined login account found in the mapping relation table, a request of loading the page associated with the predetermined login account. In this manner, isolation between the page view of the page associated with the predetermined login account and a cookie of a page being logged into by another account in the same domain name is implemented, thereby improving user experiences. |
申请公布号 |
US2016182650(A1) |
申请公布日期 |
2016.06.23 |
申请号 |
US201514977807 |
申请日期 |
2015.12.22 |
申请人 |
Guangzhou UCWEB Computer Technology Co., Ltd. |
发明人 |
ZHAO Xiangyang |
分类号 |
H04L29/08 |
主分类号 |
H04L29/08 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for isolating a page cookie, wherein the method comprises:
when a predetermined login account logs in, assigning an independent cookie storage for the predetermined login account; after a request of creating a page associated with the predetermined login account is acquired, establishing a mapping relation table for storing a mapping relation between a page view ID and the independent cookie storage; when the page associated with the predetermined login account is loaded, looking up the mapping relation table; and initiating, according to the independent cookie storage corresponding to the page view ID found in the mapping relation table, a request of loading the page associated with the predetermined login account. |
地址 |
Guangdong CN |