finally, I have session data _and_ live headers. Here is what I did:
This is the output of watchsession; the numbers written right into the watchsession dump show when I did the corresponding thing listed above
The watchsession stuff is cluttered by things generated by other blog users, but I tried using a packet filter to only allow connects from my own client during the test and it was considerably harder to see the issue then.
Code: Select all
$ cat headers-2
http://blog.zugschlus.de/
GET / HTTP/1.1
Host: blog.zugschlus.de
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080129 Iceweasel/2.0.0.12 (Debian-2.0.0.12-2)
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://del.icio.us/Zugschlus/frequse
HTTP/1.x 200 OK
Date: Sun, 23 Mar 2008 08:15:07 GMT
Server: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch10
X-Powered-By: PHP/5.2.0-8+etch10
Expires: 0
Cache-Control: no-cache, pre-check=0, post-check=0
Pragma: no-cache
X-Session2-Reinit: true
X-Blog: Serendipity
Content-Encoding: gzip
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Set-Cookie: PHPSESSID=f2f84bd24f36d30dd8bc180be7292515; path=/
Set-Cookie: serendipity[markread_visitor]=a720393fa37a3159c7953588dd55139353f3e366ff3595e9cf83f0f7de784638; expires=Tue, 22-Apr-2008 08:15:07 GMT; path=/; domain=blog.zugschlus.de
Via: 1.1 blog.zugschlus.de
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
----------------------------------------------------------
http://www.gravatar.com/avatar.php?default=&gravatar_id=38ee932da617d118cd0ee96318b5a648&size=40&border=&rating=R
GET /avatar.php?default=&gravatar_id=38ee932da617d118cd0ee96318b5a648&size=40&border=&rating=R HTTP/1.1
Host: www.gravatar.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080129 Iceweasel/2.0.0.12 (Debian-2.0.0.12-2)
Accept: image/png,*/*;q=0.5
Accept-Language: de,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://blog.zugschlus.de/
Cookie: serendipity[markread_visitor]=ce5ba480064b82236c208f42239314a42188802fc1d8aa262b6dab638b7ba41d
If-Modified-Since: Thu, 01 Jan 1970 00:00:00 GMT
HTTP/1.x 200 OK
Server: nginx/0.6.26
Date: Sun, 23 Mar 2008 08:15:10 GMT
Content-Type: text/html; charset=utf-8
Connection: close
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Expires: Sun, 23 Mar 2008 09:01:44 GMT
Content-Length: 0
X-Varnish: 1540983742 1540770384
Age: 335
Via: 1.1 varnish
----------------------------------------------------------
http://www.gravatar.com/avatar.php?default=&gravatar_id=2f971ab88115bfbb097734fb0e7e2546&size=40&border=&rating=R
GET /avatar.php?default=&gravatar_id=2f971ab88115bfbb097734fb0e7e2546&size=40&border=&rating=R HTTP/1.1
Host: www.gravatar.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080129 Iceweasel/2.0.0.12 (Debian-2.0.0.12-2)
Accept: image/png,*/*;q=0.5
Accept-Language: de,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://blog.zugschlus.de/
Cookie: serendipity[markread_visitor]=ce5ba480064b82236c208f42239314a42188802fc1d8aa262b6dab638b7ba41d
If-Modified-Since: Thu, 01 Jan 1970 00:00:00 GMT
HTTP/1.x 200 OK
Server: nginx/0.6.26
Date: Sun, 23 Mar 2008 08:15:10 GMT
Content-Type: text/html; charset=utf-8
Connection: close
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Expires: Sun, 23 Mar 2008 08:21:30 GMT
Content-Length: 0
X-Varnish: 1091228757 1090286474
Age: 1468
Via: 1.1 varnish
----------------------------------------------------------
http://blog.zugschlus.de/archives/P2.html
GET /archives/P2.html HTTP/1.1
Host: blog.zugschlus.de
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080129 Iceweasel/2.0.0.12 (Debian-2.0.0.12-2)
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://blog.zugschlus.de/
X-Moz: prefetch
Cookie: PHPSESSID=f2f84bd24f36d30dd8bc180be7292515; serendipity[markread_visitor]=a720393fa37a3159c7953588dd55139353f3e366ff3595e9cf83f0f7de784638
HTTP/1.x 200 OK
Date: Sun, 23 Mar 2008 08:15:12 GMT
Server: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch10
X-Powered-By: PHP/5.2.0-8+etch10
Expires: 0
Cache-Control: no-cache, pre-check=0, post-check=0
Pragma: no-cache
X-Blog: Serendipity
Content-Encoding: gzip
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Via: 1.1 blog.zugschlus.de
Keep-Alive: timeout=15, max=98
Connection: Keep-Alive
Transfer-Encoding: chunked
----------------------------------------------------------
http://blog.zugschlus.de/admin
GET /admin HTTP/1.1
Host: blog.zugschlus.de
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080129 Iceweasel/2.0.0.12 (Debian-2.0.0.12-2)
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://blog.zugschlus.de/
Cookie: PHPSESSID=f2f84bd24f36d30dd8bc180be7292515; serendipity[markread_visitor]=a720393fa37a3159c7953588dd55139353f3e366ff3595e9cf83f0f7de784638
HTTP/1.x 302 Found
Date: Sun, 23 Mar 2008 08:15:22 GMT
Server: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch10
X-Powered-By: PHP/5.2.0-8+etch10
Expires: 0
Cache-Control: no-cache, pre-check=0, post-check=0
Pragma: no-cache
X-Blog: Serendipity
Location: http://blog.zugschlus.de/serendipity_admin.php
Content-Length: 0
Content-Type: text/html; charset=UTF-8
Via: 1.1 blog.zugschlus.de
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
----------------------------------------------------------
http://blog.zugschlus.de/serendipity_admin.php
GET /serendipity_admin.php HTTP/1.1
Host: blog.zugschlus.de
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080129 Iceweasel/2.0.0.12 (Debian-2.0.0.12-2)
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://blog.zugschlus.de/
Cookie: PHPSESSID=f2f84bd24f36d30dd8bc180be7292515; serendipity[markread_visitor]=a720393fa37a3159c7953588dd55139353f3e366ff3595e9cf83f0f7de784638
HTTP/1.x 200 OK
Date: Sun, 23 Mar 2008 08:15:23 GMT
Server: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch10
X-Powered-By: PHP/5.2.0-8+etch10
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 4162
Content-Type: text/html; charset=UTF-8
Via: 1.1 blog.zugschlus.de
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
----------------------------------------------------------
http://blog.zugschlus.de/serendipity_admin.php
POST /serendipity_admin.php HTTP/1.1
Host: blog.zugschlus.de
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080129 Iceweasel/2.0.0.12 (Debian-2.0.0.12-2)
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://blog.zugschlus.de/serendipity_admin.php
Cookie: PHPSESSID=f2f84bd24f36d30dd8bc180be7292515; serendipity[markread_visitor]=a720393fa37a3159c7953588dd55139353f3e366ff3595e9cf83f0f7de784638
Content-Type: application/x-www-form-urlencoded
Content-Length: 113
serendipity%5Baction%5D=admin&serendipity%5Buser%5D=Zugschlus&serendipity%5Bpass%5D=<snip>&submit=Login+%3E
HTTP/1.x 200 OK
Date: Sun, 23 Mar 2008 08:15:31 GMT
Server: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch10
X-Powered-By: PHP/5.2.0-8+etch10
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Serendipity-InterfaceLangSource: Database
X-Serendipity-InterfaceLang: en
Content-Type: text/html; charset=UTF-8
Set-Cookie: serendipity[old_session]=f2f84bd24f36d30dd8bc180be7292515; expires=Tue, 22-Apr-2008 08:15:31 GMT; path=/; domain=127.0.0.1:1312
Set-Cookie: serendipity[author_token]=be6d0917ce9d4a16e00d56a12eee28bf6a3f858d; expires=Tue, 22-Apr-2008 08:15:31 GMT; path=/; domain=127.0.0.1
Set-Cookie: serendipity[userDefLang]=en; expires=Tue, 22-Apr-2008 08:15:31 GMT; path=/; domain=127.0.0.1:1312
Set-Cookie: serendipity[author_information]=deleted; expires=Sat, 24-Mar-2007 08:15:30 GMT; path=/; domain=127.0.0.1
Set-Cookie: serendipity[author_information_iv]=deleted; expires=Sat, 24-Mar-2007 08:15:30 GMT; path=/; domain=127.0.0.1
Set-Cookie: serendipity[old_session]=f2f84bd24f36d30dd8bc180be7292515; expires=Tue, 22-Apr-2008 08:15:31 GMT; path=/; domain=127.0.0.1:1312
Set-Cookie: serendipity[userDefLang]=en; expires=Tue, 22-Apr-2008 08:15:31 GMT; path=/; domain=127.0.0.1:1312
Via: 1.1 blog.zugschlus.de
Keep-Alive: timeout=15, max=98
Connection: Keep-Alive
Transfer-Encoding: chunked
----------------------------------------------------------
http://blog.zugschlus.de/serendipity_admin.php?serendipity[adminModule]=comments
GET /serendipity_admin.php?serendipity[adminModule]=comments HTTP/1.1
Host: blog.zugschlus.de
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080129 Iceweasel/2.0.0.12 (Debian-2.0.0.12-2)
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://blog.zugschlus.de/serendipity_admin.php
Cookie: PHPSESSID=f2f84bd24f36d30dd8bc180be7292515; serendipity[markread_visitor]=a720393fa37a3159c7953588dd55139353f3e366ff3595e9cf83f0f7de784638
HTTP/1.x 200 OK
Date: Sun, 23 Mar 2008 08:15:41 GMT
Server: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch10
X-Powered-By: PHP/5.2.0-8+etch10
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Serendipity-InterfaceLangSource: Database
X-Serendipity-InterfaceLang: en
Content-Length: 4162
Content-Type: text/html; charset=UTF-8
Set-Cookie: serendipity[old_session]=f2f84bd24f36d30dd8bc180be7292515; expires=Tue, 22-Apr-2008 08:15:42 GMT; path=/; domain=127.0.0.1:1312
Set-Cookie: serendipity[userDefLang]=en; expires=Tue, 22-Apr-2008 08:15:42 GMT; path=/; domain=127.0.0.1:1312
Via: 1.1 blog.zugschlus.de
Keep-Alive: timeout=15, max=97
Connection: Keep-Alive
----------------------------------------------------------
(Password was changed, all session files deleted before posting this; I hope that I didn't open any holes to the live system by posting this).