Cookies
Cookies
computer. They are necessary for some functions of a webpage, such as login and are often
used also for tracking the behaviour of users on the internet. Their use can be prohibited in
most of today´s web browsers.
All information provided is anonymous (e.g. what web browser you use, domain name of your
ISP).
This allows us to further improve our services and tailor our website to your needs.
Furthermore, we use cookies for advertisement campaigns and their subsequent restriction so
you will not be getting an overwhelming number of the same advertisement. We do not use
cookies that give us access to data stored on your computer or harm your computer in any
other way.
cookie: a small amount of information sent by a server to a browser, and then sent back by the
browser on future page requests cookies have many uses: authentication user tracking
maintaining user preferences, shopping carts, etc. a cookie's data consists of a single
name/value pair, sent in the header of the client's HTTP GET or POST request
Myths: Cookies are like worms/viruses and can erase data from the user's hard disk. Cookies
are a form of spyware and can steal your personal information. Cookies generate popups and
spam. Cookies are only used for advertising. Facts: Cookies are only data, not program code.
Cookies cannot erase or read information from the user's computer. Cookies are usually
anonymous (do not contain personal information). Cookies CAN be used to track your viewing
habits on a particular site.
Session cookie : the default type; a temporary cookie that is stored only in the browser's
memory when the browser is closed, temporary cookies will be erased cannot be used for
tracking long-term information safer, because no programs other than the browser can access
them
persistent cookie : one that is stored in a file on the browser's computer can track long-term
information potentially less secure, because users (or programs they run) can open cookie files,
see/change the cookie values, etc
What is a session?
session: an abstract concept to represent a series of HTTP requests and responses between a
specific Web browser and server HTTP doesn't support the notion of a session, but PHP does
sessions vs. cookies: a cookie is data stored on the client a session's data is stored on the
server (only 1 session per client)
sessions are often built on top of cookies: the only data the client stores is a cookie holding a
unique session ID on each page request, the client sends its session ID cookie, and the server
uses this to find and retrieve the client's session data