QMCS 370 - Class Today - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

QMCS 370 - Class Today

Description:

Referrer field. Cookie field. Other data: expiration, caching, ... How do we keep track? ... Other protocol headers (Referrer, Cookie) 'Cookies' ... – PowerPoint PPT presentation

Number of Views:18
Avg rating:3.0/5.0
Slides: 8
Provided by: ricks6
Category:
Tags: qmcs | class | referrer | today

less

Transcript and Presenter's Notes

Title: QMCS 370 - Class Today


1
QMCS 370 - Class Today
  • Homework
  • Next Homework
  • States and HTTP/HTML

2
Homework
  • Domain Names questions?
  • Mail Bagging 6.1
  • Headers 6.5
  • 6.8, 9, 10
  • ... and hand them in!

3
Next Homework Next Thursday
  • Problem 7.1
  • Describes a set of users and applications they
    use
  • Identifies some physical locations
  • Describes existing IT infrastructure
  • a cohesive IT architectural plan
  • Identify the servers and clients needed, by
    user/application
  • Identify which layers each one has (ref. figure
    7.5)
  • Indicate where clients and servers will reside
  • Which company offices or facilities
  • Is laptop access needed
  • For each group of stakeholders, make a list of
    advantages and disadvantages

4
The HTTP/HTML State Problem
  • Why does a server want to keep track?
  • Reserve own images for own pages
  • Associate ordered merchandise with one user
  • See what a user did to predict what a user wants
  • Whats in an HTTP transaction?
  • Client side
  • Type of request GET, POST usually
  • URL of interest
  • Contents of a form for POST
  • Types of data accepted for GET
  • Referrer field
  • Cookie field
  • Other data expiration, caching, ...
  • How do we keep track?

5
Statelessness in Servers
  • How does the server recognize that a series of
    transactions belong to one user?
  • Options
  • Simple identifier in transactions (magic path
    names)
  • Other protocol headers (Referrer, Cookie)
  • Cookies
  • Connection identifiers (IP address, for example)
  • Something with crypto (maybe a cookie)
  • What are cookies anyway?

6
What does statelessness mean?
  • The server protocol layer doesnt keep track of
    the state
  • A separate level of application specific logic
    must keep track of state
  • For example cookie ID or transaction ID is
    linked to DB entries
  • This is NOT built into the HTTP protocol
    implementation
  • In-line linking and statelessness
  • The HTTP/HTML technology allows one page to refer
    to content (especially graphics) anywhere on the
    Web
  • Some server owners hate this
  • There are tricks to prevent such references in
    some cases

7
Creative Commons License
  • This work is licensed under the Creative Commons
    Attribution-Share Alike 3.0 United States
    License. To view a copy of this license, visit
    http//creativecommons.org/licenses/by-sa/3.0/us/
    or send a letter to Creative Commons, 171 Second
    Street, Suite 300, San Francisco, California,
    94105, USA.
Write a Comment
User Comments (0)
About PowerShow.com