Java Reference
In-Depth Information
Notice the cookie? It is created by the Set-Cookie HTTP tag. Once the server has
set a cookie, the browser must echo this cookie with each request. Look at the next request,
which is GET /1/2/cookies.php . This request can be seen in Figure 2.14.
Figure 2.14: Cookie as Part of a HTTP Request
Notice the Cookie header in the request above. This will be sent by the web browser
now that the server has requested it. This tag now allows the server to identify this particular
web browser.
Tracking cookie usage can be very important when writing a bot. Using a network ana-
lyzer can assist in seeing how a web server is making use of cookies.
Recipe #2.2: Examining Forms
Forms are another key element of most web sites. Using the network analyzer, it can
quickly be determined how a web server makes use of forms. Forms will be covered in
much greater detail in Chapter 7. For now, capturing forms with a network analyzer will be
covered.
Search WWH ::




Custom Search