METHOD AND APPARATUS FOR ISOLATING PAGE COOKIE
    1.
    发明申请
    METHOD AND APPARATUS FOR ISOLATING PAGE COOKIE 审中-公开
    用于分离页面COOKIE的方法和装置

    公开(公告)号:US20160182650A1

    公开(公告)日:2016-06-23

    申请号:US14977807

    申请日:2015-12-22

    Inventor: Xiangyang ZHAO

    Abstract: 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.

    Abstract translation: 本发明公开了一种隔离页面cookie的方法和装置。 该方法包括:当预定的登录帐户登录时,为预定的登录帐户分配独立的cookie存储; 在获取与预定登录帐户相关联的页面的请求之后,建立用于存储与预定登录帐户相关联的页面的页面浏览标识与独立cookie存储之间的映射关系的映射关系表; 当加载与预定登录帐户相关联的页面时,查找映射关系表; 以及根据与在所述映射关系表中找到的与所述预定登录帐户相关联的页面的页面浏览标识对应的独立cookie存储器启动加载与所述预定登录帐户相关联的页面的请求。 以这种方式,实现与预定登录帐户相关联的页面的页面视图与由相同域名中的另一个帐户登录的页面的cookie之间的隔离,从而改善用户体验。

Patent Agency Ranking