Hacking Gmail

(Grace) #1

Chapter 5 — How Gmail Works 75


FIGURE5-10: Gmail with some new, unread messages

Listing 5-9 shows the new trace.

A Summary of the Login Procedure

As I have said before, the login procedure for Gmail seems to be changing on a very regular
basis. Check with the libraries examined in Chapter 6 for the latest news on this. Basically, how-
ever, the login procedure goes like this, with each step moving on only if the previous was
reported successful.



  1. Request the Gmail page.

  2. Set the two cookies.

  3. Send the contents of the form.

  4. Request the cookie check page.

  5. Request the Inbox.

Free download pdf