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.
公开/授权文献
信息查询
0/0