Cookie technology is a very controversial technology, since its inception it has become a vast number of network users and web developersA point of contention. Some Internet users, even some senior web experts, are dissatisfied with its generation
Cookie cookies are a great invention that allows web developers to keep their users ' login status. However, when your site or network
There is a problem when you have more than one domain name.
In the cookie specification, a cookie can be used
First, the domain names of two different subdomains are resolved on different servers. Of course, the directories are also different. I failed to perform cross-domain operations (delete cookies. Unable to operate. I tried the P3P protocol, but I
The similarities and differences between the cookie and session:A. Cookie mechanismCookies are small pieces of text that the server stores on the local machine and are sent to the same server with each request. The IETF RFC 2965 HTTP State
DescriptionCross-domain is mainly due to the browser "homologous strategy" caused by a variety of types, this article mainly discusses the AJAX request cross-domain problem
Objective
Reference sources
What is a
We all know that the session is not to cross the domain, that is to say: A.wemvc. COM This domain executable file can not access to the b.wemvc.com session, this is the characteristics of the session, but also for security reasons.In general, a site
Domain Speaking from domain: domain is the security boundary of Win2K network system. We know that the most basic unit of a computer computer is "domain", which is not unique to Win2K, but the Active Directory can run through one or more domains. On
PHP two domain name using cookies under the first-level domain for cross-domain logins
We usually use cookies only when used in this site, that is, only under a domain name.
If we want to use a cookie under www.xhbin.com, just set a cookie in the
DescriptionCross-domain is mainly due to the browser "homologous strategy" caused by a variety of types, this article mainly discusses the AJAX request cross-domain problemObjectiveIt is highly recommended to read the articles in the reference
The synchronous login requirement must meet the following three key points:1) users logging on to domain A can perform synchronous login when they jump to domain B;2) click the exit link under domain A under domain B to exit both domain A and domain
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.