# data[].attributes.body
1131121076 Chin Chiew Ling

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. This allows the server to deliver a page tailored to a particular user, or the page itself can contain some script which is aware of the data in the cookie and so is able to carry information from one visit to the website (or related site) to the next.

When you enter a Web site using cookies, you may be asked to fill out a form providing personal information; like your name, e-mail address, and interests. This information is packaged into a cookie and sent to your Web browser, which then stores the information for later use. The next time you go to the same Web site, your browser will send the cookie to the Web server. The message is sent back to the server each time the browser requests a page from the server.

Types of Cookies

session cookie

Also called a transient cookie, a cookie that is erased when you close the Web browser. The session cookie is stored in temporary memory and is not retained after the browser is closed. Session cookies do not collect information from your computer. They typically will store information in the form of a session identification that does not personally identify the user.

persistent cookie

Also called a permanent cookie, or a stored cookie, a cookie that is stored on your hard drive until it expires (persistent cookies are set with expiration dates) or until you delete the cookie. Persistent cookies are used to collect identifying information about the user, such as Web surfing behavior or user preferences for a specific Web site.

# data[].attributes.body
-Cookies is a small tet files Web servers place on Web client, Identify returning visitors and allow continuing open session

Categories:
1.Session cookies: exist until client connection ends.
2.Persistent cookies: remain indefinitely .

# data[].attributes.body
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.

Cookies are messages that web servers pass to your web browser when you visit Internet sites. Your browser stores each message in a small file, called cookie.txt . When you request another page from the server, your browser sends the cookie back to the server. When you enter a Web site using cookies, you may be asked to fill out a form providing personal information; like your name, e-mail address, and interests. This information is packaged into a cookie and sent to your Web browser, which then stores the information for later use. The next time you go to the same Web site, your browser will send the cookie to the Web server. The message is sent back to the server each time the browser requests a page from the server.

Session cookie
Also called a transient cookie, a cookie that is erased when you close the Web browser. The session cookie is stored in temporary memory and is not retained after the browser is closed. Session cookies do not collect information from your computer. They typically will store information in the form of a session identification that does not personally identify the user.

Persistent cookie
Also called a permanent cookie, or a stored cookie, a cookie that is stored on your hard drive until it expires (persistent cookies are set with expiration dates) or until you delete the cookie. Persistent cookies are used to collect identifying information about the user, such as Web surfing behavior or user preferences for a specific Web site.

# data[].attributes.body
Cookies are strings of data that a web server sends to the browser. When a browser requests an object from the same domain in the future, the browser will send the same string of date back to the origin server.

The data is sent from the web server in the form of an HTTP header called "Set-Cookie". The browser sends the cookie back to te server in an HTTP header called "Cookie"

Session cookies and persistent cookies

If a cookie does not contain an expiration date, it is considered a session cookie. Session cookies are stored in memory and never written to disk. When the browers closes the cookie is permanently lost from this point on.

If the cookie contains an expiration date, it is considered a persistent cookie. On the date specified in the expiration, the cookie will be removed from the disk.

# data[].attributes.body
Cookies
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. This allows the server to deliver a page tailored to a particular user, or the page itself can contain some script which is aware of the data in the cookie and so is able to carry information from one visit to the website (or related site) to the next.

Why use Cookies?
Cookies are a convenient way to carry information from one session on a website to another, or between sessions on related websites, without having to burden a server machine with massive amounts of data storage. Storing the data on the server without using cookies would also be problematic because it would be difficult to retrieve a particular user's information without requiring a login on each visit to the website.

Differentiate two different kind of cookies categories
Session Cookie

If a cookie does not contain an expiration date, it is considered a session cookie. Session cookies are stored in memory and never written to disk. When the browers closes the cookie is permanently lost from this point on.

Persistent Cookie

If the cookie contains an expiration date, it is considered a persistent cookie. On the date specified in the expiration, the cookie will be removed from the disk.

# data[].attributes.body
Cookies are small pieces of information that a website stores on your computer either in the memory of your computer or other devices such as mobile phones, tablet devices (these cookies are commonly known as session cookies) or are placed on the hard drive of your device (commonly known as persistent cookies).
Cookies can be created when you visit a website or other service that uses cookies. Most of the time these cookies contain harmless non-identifiable (anonymous) information that help the website provide a better user experience to you; or to assist in improving the website by tracking your interactions.

There are many reasons for a website to use cookies. Anything from allowing you to login to a secure area of a website, to remembering your name or favourite colour for next time you visit the site.
Our website uses cookies to distinguish you from other users of our website in order to provide increased functionality and service. This not only helps us to provide you with a better experience, but also to help us improve our website and services.

ANALYTICAL COOKIES

These cookies allow us to recognize and count the number of visitors to our website, discover how visitors move around our website, and to track the content that visitors view and are interested in. This helps us to tailor the content we provide and make sure we offer more of what our visitors want, and less of what they don't want. Without this information we would have to rely on you, the visitor, contacting us and letting us know if you don't like something, or if you want to see more of a particular type of content.

FUNCTIONAL COOKIES
These cookies relate to the functionality of our website and allow us to improve the services we offer.

# data[].attributes.headline
A cookie (called an Internet or Web cookie) is the term given to describe a type of message that is given to a Web browser by a Web server.  The main purpose of a cookie is to identify users and possibly prepare customized Web pages or to save site login information for you.

# data[].attributes.subject
A cookie (called an Internet or Web cookie) is the term given to describe a type of message that is given to a Web browser by a Web server.  The main purpose of a cookie is to identify users and possibly prepare customized Web pages or to save site login information for you.

# data[].attributes.body
1.  session cookie
Also called a transient cookie, a cookie that is erased when you close the Web browser. The session cookie is stored in temporary memory and is not retained after the browser is closed. Session cookies do not collect information from your computer. They typically will store information in the form of a session identification that does not personally identify the user.

2. persistent cookie
Also called a permanent cookie, or a stored cookie, a cookie that is stored on your hard drive until it expires (persistent cookies are set with expiration dates) or until you delete the cookie. Persistent cookies are used to collect identifying information about the user, such as Web surfing behavior or user preferences for a specific Web site.

CHONG JIA NING 1141327363

# data[].attributes.body
Cookies are small pieces of information that a website stores on your computer either in the memory of your computer or other devices such as mobile phones, tablet devices (these cookies are commonly known as session cookies) or are placed on the hard drive of your device (commonly known as persistent cookies).
Cookies can be created when you visit a website or other service that uses cookies. Most of the time these cookies contain harmless non-identifiable (anonymous) information that help the website provide a better user experience to you; or to assist in improving the website by tracking your interactions.
The cookies we use only contain anonymous information to improve the services we offer, and do not contain personal information