HTTP and Cookies February 26, 2003 Kyle Miyamoto Dawn Namahoe Daniel Young Wendi Young.

11
HTTP and Cookies HTTP and Cookies February 26, 2003 February 26, 2003 Kyle Miyamoto Kyle Miyamoto Dawn Namahoe Dawn Namahoe Daniel Young Daniel Young Wendi Young Wendi Young

Transcript of HTTP and Cookies February 26, 2003 Kyle Miyamoto Dawn Namahoe Daniel Young Wendi Young.

Page 1: HTTP and Cookies February 26, 2003 Kyle Miyamoto Dawn Namahoe Daniel Young Wendi Young.

HTTP and CookiesHTTP and Cookies

February 26, 2003February 26, 2003Kyle MiyamotoKyle MiyamotoDawn NamahoeDawn NamahoeDaniel YoungDaniel YoungWendi YoungWendi Young

Page 2: HTTP and Cookies February 26, 2003 Kyle Miyamoto Dawn Namahoe Daniel Young Wendi Young.

Table of ContentsTable of Contents

Definition SlideDefinition Slide Overview of HTTPOverview of HTTP ChartChart Stateless ProtocolStateless Protocol Cookies as a Way of Maintaining StateCookies as a Way of Maintaining State Example of CookiesExample of Cookies Other Useful factsOther Useful facts Summary SlideSummary Slide CitationsCitations

Page 3: HTTP and Cookies February 26, 2003 Kyle Miyamoto Dawn Namahoe Daniel Young Wendi Young.

DefinitionsDefinitions

HTTP (Hypertext Transfer Protocol) – Protocol used HTTP (Hypertext Transfer Protocol) – Protocol used to transfer files over the internet to the webto transfer files over the internet to the webbrowser from a web server. browser from a web server.

Cookies – A small text file sent from web server to Cookies – A small text file sent from web server to browser computer and from browser computer back browser computer and from browser computer back to the web server. to the web server.

State – Identification of a user and the memory of State – Identification of a user and the memory of user information .user information .

Stateless – Not needing any specific user Stateless – Not needing any specific user information.information.

Server – A program that connects and processes Server – A program that connects and processes requests made over the internet.requests made over the internet.

Browser – A program used to access the internet.Browser – A program used to access the internet. Protocol – A specific way of communicating.Protocol – A specific way of communicating.

Page 4: HTTP and Cookies February 26, 2003 Kyle Miyamoto Dawn Namahoe Daniel Young Wendi Young.

Overview of HTTPOverview of HTTP

Most popular way of transmitting Most popular way of transmitting instructions between the user and instructions between the user and the server.the server.

Very simple protocol to retrieve Very simple protocol to retrieve information on the internet.information on the internet.

Page 5: HTTP and Cookies February 26, 2003 Kyle Miyamoto Dawn Namahoe Daniel Young Wendi Young.

How HTTP WorksHow HTTP Works

Page 6: HTTP and Cookies February 26, 2003 Kyle Miyamoto Dawn Namahoe Daniel Young Wendi Young.

Stateless ProtocolStateless Protocol

HTTP is a stateless protocol.HTTP is a stateless protocol. No information needed or kept.No information needed or kept. Each command is executed Each command is executed

independently.independently. No knowledge of commands that came No knowledge of commands that came

before application.before application. Information easily retransmitted.Information easily retransmitted. Website kept simple and light.Website kept simple and light.

Page 7: HTTP and Cookies February 26, 2003 Kyle Miyamoto Dawn Namahoe Daniel Young Wendi Young.

Cookies Maintaining Cookies Maintaining StateState Reflects personal settings and Reflects personal settings and

configurations.configurations. Each website has its own cookie Each website has its own cookie

that is site-specific.that is site-specific.

Page 8: HTTP and Cookies February 26, 2003 Kyle Miyamoto Dawn Namahoe Daniel Young Wendi Young.

Example of CookiesExample of Cookies

Page 9: HTTP and Cookies February 26, 2003 Kyle Miyamoto Dawn Namahoe Daniel Young Wendi Young.

Other Useful FactsOther Useful Facts

Newer cookies will overwrite older Newer cookies will overwrite older cookies.cookies.

There are set restrictions on the There are set restrictions on the number of cookies that can be number of cookies that can be stored.stored.

Page 10: HTTP and Cookies February 26, 2003 Kyle Miyamoto Dawn Namahoe Daniel Young Wendi Young.

SummarySummaryHTTP & CookiesHTTP & Cookies

February 26, 2003February 26, 2003

Kyle MiyamotoKyle Miyamoto

Dawn NamahoeDawn Namahoe

Daniel YoungDaniel Young

Wendi YoungWendi Young

HTTP is a stateless protocol.HTTP is a stateless protocol.

Every command is executed independently.Every command is executed independently.

Cookies are a way of maintaining state.Cookies are a way of maintaining state.

They represent personal settings.They represent personal settings.

There are settings on your computer to limit the There are settings on your computer to limit the number of cookies allowed.number of cookies allowed.

Page 11: HTTP and Cookies February 26, 2003 Kyle Miyamoto Dawn Namahoe Daniel Young Wendi Young.

CitationsCitations

http://www.cherrymedia.com/webservices/http://www.cherrymedia.com/webservices/supglossary.htmlsupglossary.html

http://computer.howstuffworks.com/http://computer.howstuffworks.com/cookie3.htmcookie3.htm

http://www.cookiecentral.com/faq/#1.1http://www.cookiecentral.com/faq/#1.1 http://www.faqs.org/rfcs/rfc2616.htmlhttp://www.faqs.org/rfcs/rfc2616.html http://webopedia.internet.com/TERM/P/http://webopedia.internet.com/TERM/P/

protocol.htmlprotocol.html http://webopedia.internet.com/TERM/B/http://webopedia.internet.com/TERM/B/

browser.htmlbrowser.html