Computer Networks

Practical exercises #22

  1. Web browsers (usually) store persistent cookies in a text file somewhere on your system, typically with a revealing name like cookies.txt, which should make it easy to find. Check out this file using a text file viewer. What cookies are stored there, and what information do they contain?

  2. Visit some commercial Web sites, pretend you're going to buy something (maybe even actually buy something!) and discover whether they're using hidden fields or cookies to maintain state.

  3. Turn on the "Notify Me About Cookies" option (or whatever it is called in your particular browser) and be amazed at the cookies that are being sent to you!

  4. Use the small segments of Perl code given in the lecture to set and read cookies.


This set of practical exercises accompanies Tutorial #22.
La Trobe Uni Logo [Previous Practical] [Tutorial Index] [Next Practical]
Copyright © 2000 by Philip Scott, La Trobe University.
Valid HTML 3.2!