Search notes:

HTTP Cookie

A cookie is a piece of information (a name/value pair) that a web browser stores on behalf of a visited site.
This information might be something like site preferences or login status.
When the site is visited again, the information is returned to the site.
In Firefox, cookies are stored in the profile folder under cookies.sqlite.
Cookies allow a web server to maintain state over the basically stateless HTTP protocoll.

Scope of cookies

A cookie has an associated scope which defines:

Security concerns

For historical reasons, there are a few security concerns with cookies:

Netscape cookies?

It seems there cookies following the «netscape cookie protocol» and cookies following the protocol defined in RFC 2965.
Allegedly, the great majority of cookies on the internet are Netscape cookies.
The Netscape cookie protocol differs substantially from that set out in the original Netscape specification.

See also

Cookies are defined in RFC 6265 (HTTP State Management Mechanism), but see also the obsolete RFCs 2109 and 2965.
The Set-Cookie HTTP request header and the associated Cookie response header.
In Chrome, the cookies for the individual sites can be inspected with the special URL chrome://settings/siteData/.
PHP allows store valaues for sessions.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758207384, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/web/HTTP/cookie/index(83): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78