Cookies are small files which are stored on a user’s computer. They are designed to hold a modest amount of data specific to a particular client and website, and can be accessed either by the web server or the client computer.
When a cookie is created it is possible to control its visibility by setting its ‘root domain’. It will then be accessible to any URL belonging to that root. For example the root could be set to “www.Steelband.co.uk” and the cookie would then be available to sites in “www.Steelband.co.uk” or “abc.Steelband.co.uk” or “Steelband.co.uk“. This might be used to allow related pages to ‘communicate’ with each other. It is not possible to set the root domain to ‘top level’ domains such as ‘.com’ or ‘.co.uk’ since this would allow widespread access to the cookie.
Who Can Access Cookies?
By default cookies are visible to all paths in their domains, but at the time of creation they can be restricted to a given subpath – for example “www.Steelband.co.uk/contact-us“.