Computer Networks
Practical exercises #22
- 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?
- 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.
- 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!
- Use the small segments of Perl code given in the lecture to
set and read cookies.
This set of practical exercises accompanies
Tutorial #22.
[Previous Practical]
[Tutorial Index]
[Next Practical]
Copyright © 2000 by
Philip Scott,
La Trobe University.