1 / 9

OAW – LEKTIONSGANG 4

OAW – LEKTIONSGANG 4. SUMMARY, LECTURE 3. (Extended) Common Log File Format Host, Ident, Authuser, Time, Request, Status, Bytes, Referer, Useragent. An example:

lois-gaines
Télécharger la présentation

OAW – LEKTIONSGANG 4

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OAW – LEKTIONSGANG 4

  2. SUMMARY, LECTURE 3 • (Extended) Common Log File Format • Host, Ident, Authuser, Time, Request, Status, Bytes, Referer, Useragent. • An example: • 80.62.239.98- - [22/Oct/2001:04:12:28 +0200]"GET /people/tofte/leftorange.htm HTTP/1.1" 200 1279 "http://www.it-c.dk/people/tofte/" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)"

  3. OPSUMMERING, ØVELSESRAPPORTER

  4. DEMO AF WEBALIZER • trumanlibrary.org • znail.com • dipcard.com

  5. OPSUMMERING LOGFILSANALYSE • Server based / Client based • Log rotation • Foreløbig liste over fordele/ulemper (tavleøvelse)

  6. COOKIES A cookie is information that a Web site puts on your hard disk so that it can remember something about you at a later time. More technically, it is information for future use that is stored by the server on the client side of a client/server communication. Typically, a cookie records your preferences when using a particular site. Using the Web's Hypertext Transfer Protocol (HTTP), each request for a Web page is independent of all other requests. For this reason, the Web page server has no memory of what pages it has sent to a user previously or anything about your previous visits. A cookie is a mechanism that allows the server to store its own information about a user on the user's own computer. You can view the cookies that have been stored on your hard disk (although the content stored in each cookie may not make much sense to you). The location of the cookies depends on the browser. Internet Explorer stores each cookie as a separate file under a Windows subdirectory. Netscape stores all cookies in a single cookies.txt fle. Opera stores them in a single cookies.dat file. whatis.com

  7. PROGRAMMERING MED COOKIES ETC • Session-level/persistent. Can only be read from the domain from which they were written. • Intro til HTTP-variable i programmering ($HTTP_USER_AGENT, $REMOTE_ADDR osv). • Eksempler på implementering på kursus-websitet.

  8. IMPLEMENTERING AF TRACKING

  9. THE QUIZ • Cookies blev introduceret på web i 1999 • Ca 50% af de store websites (>10.000 U.V. per uger) i Danmark benytter cookies. • Cookies kan leve mere end 2 år. • En session cookie benyttes til at måle user sessions. • Det er nødvendigt som bruger at acceptere cookies for at benytte ”shopping cart solutions”. • Ca 50% af alle brugere på nettet accepterer cookies. • En cookie fylder som regel mindre end 100 kb.

More Related