You are on page 1of 3

HW 3

1. Cookies: In this problem you will take a look at the cookies stored by your browser.
a. Examine the Settings in your browser and find 3 websites for which cookies are set. If you
don’t know how to find your cookies, search Google, or ask in Section.

b. In what way do cookies help with e-commerce shopping carts?

c. What is a third-party cookie?

d. How is a third-party cookie different from a first-party cookie?

e. How does a third-party cookie get “set”?

Do you have third-party cookies enabled or disabled in your browser? How do you
know?

f. How can third-party cookies be disabled in your browser?

g. Suppose you are starting an e-commerce business and need to build the website. How
could cookies be of use to you?

h. Do you have any concerns about the use of cookies in your own daily Internet activity?
Why or why not?

i. Use Inspect to capture a set-cookie response from a server. Try a few websites until you
see one. Clearing your cookies might also help you. Copy paste the set-cookie: header
along with a snippet (just one line-sometimes it is very long) of the value being set.
j. Access the site in (i) and try to see your client respond with the Cookie: header. Copy
paste the header and value that you see in Inspect.

k. Go to https://www.azquotes.com/author/8668-Tim_Berners_Lee. Did the website ask you


to enable the third party cookies? Find a third-party cookie from this website using the
inspect tool and show a screenshot. Why do you think this is a third-party cookie? You
may need to enable the third-party cookies in your browser’s setting.

2. Proxy Server/Web Cache (we won’t get to this until Friday)


a. Draw a picture of a university network, a few hosts/end systems, a proxy/web cache and
then the access link to an ISP. Make sure each component is in the correct place.

b. State two reasons why it can be helpful to use a web cache:

c. When the cache acts as a Server what is it doing?


When the cache acts as a client what is it doing?

d. What's the purpose of an HTTP Conditional GET?


e. When a web client issues a Conditional GET, what header must it use in its HTTP
message to the Server?

You might also like