_gid on www.w3schools.com
About this cookie:
There is no specific information about how this cookie is used on this site. If you own this website, or have any information about how this cookie is used on this site, please get in touch.
Related general information about _gid:
These cookies collect information about how visitors use a website, for instance which pages visitors go to most often, and if they get error messages from web pages. These cookies don’t collect information that identifies a visitor. All information these cookies collect is aggregated and therefore anonymous. It is only used to improve how a website works.More about cookie classifications.
First Party Cookies
One of the key attributes of a cookie is its 'Host' - this is the domain name of the site that ultimately sets the cookie. Only the host domain can retrieve and read the contents of the cookie once it has been set.
If the host name is the same as the domain in the browser address bar when it is set or retrieved, then it is a First Party Cookie.
First party cookies are only set or retrieved by the website while you are visiting it, so they cannot normally be used to track activity or pass data from one site to another.
However the owner of that website can still collect data through their cookies and use that to change how the website appears to the user, or the information it displays.
Most desktop browsers allow you to see a list of the cookies that have been set – and they will normally be listed by the host domain value.
As the name suggests, this type of cookie is saved on your computer so that when you close it down and start it up again, it can still be there.
Persistent cookies are created by giving them an expiry date. If that expiry date is reached, it will be destroyed by the computer. If the expiry date is not set then it is automatically a session cookie.
The expiry date will normally be saved as the time the cookie was first created plus a number of seconds, determined by the programmer who wrote the code for the cookie. However, there is no real limit on the expiry date - so it could be set to be 20 years in the future. In addition, if you revisit the website that served up the cookie, it may automatically place an updated version on your computer - with a revised future expiry date.
If you login into a website, then shut down your computer, start it up again, and go back to the website to find you are still logged in - then it is using a persistent cookie to remember you.
Persistent cookies are also used to track visitor behaviour as you move around a site, and this data is used to try and understand what people do and don't like about a site so it can be improved. This practice is known as Web Analytics. Since Google started providing its own analytics technology free of charge to website owners, almost all websites use some form of it - although there are also paid-for services available to rival Google's.
Analytics cookies are probably the most common form of persistent cookies in use today.
However, persistent cookies can also , oddly, have a shorter life span than some session cookies, as they can be coded to be destroyed within a second or two of being set, whereas a session cookie will always last until you close down your browser.
- This is a first party persistent cookie
- ICC category: Performance
- Website: www.w3schools.com See all cookies on this website
- Host: .w3schools.com
- Life Span (days): 1
- Path: /
- HTTPOnly cookie? No
- Secure cookie? No