1. Request / -> receive login page (N.B. The war is mounted at /creator) ------------------------------------------------------------------ GET /creator/ HTTP/1.1 Host: kreios:8080 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-gb,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: x-auto-11=m%3Asize%7Cf%3A447; JSESSIONID=91AE7616B49FFC4F26EFC2A4954335BB HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Pragma: No-cache Cache-Control: no-cache Expires: Thu, 01 Jan 1970 01:00:00 GMT ETag: W/"262-1225988484000" Last-Modified: Thu, 06 Nov 2008 16:21:24 GMT Content-Type: text/html Content-Length: 262 Date: Fri, 07 Nov 2008 12:07:58 GMT
Username:
Password:

2. Login -> receive redirect ------------------------------------------------------------------ POST /creator/j_security_check HTTP/1.1 Host: kreios:8080 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-gb,en;q=0.5 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://kreios:8080/creator/ Cookie: x-auto-11=m%3Asize%7Cf%3A447; JSESSIONID=91AE7616B49FFC4F26EFC2A4954335BB Content-Type: application/x-www-form-urlencoded Content-Length: 30 j_username=super&j_password=pw HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 Location: http://kreios:8080/creator/ Content-Length: 0 Date: Fri, 07 Nov 2008 12:08:05 GMT 3. Follow redirect, request / -> Receive 'real' page OK ------------------------------------------------------------------ GET /creator/ HTTP/1.1 Host: kreios:8080 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-gb,en;q=0.5 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://kreios:8080/creator/ Cookie: x-auto-11=m%3Asize%7Cf%3A447; JSESSIONID=91AE7616B49FFC4F26EFC2A4954335BB If-Modified-Since: Thu, 06 Nov 2008 16:21:24 GMT If-None-Match: W/"262-1225988484000" HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Pragma: No-cache Cache-Control: no-cache Expires: Thu, 01 Jan 1970 01:00:00 GMT X-Powered-By: Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)/Tomcat-5.5 ETag: W/"1350-1225990818000" Last-Modified: Thu, 06 Nov 2008 17:00:18 GMT Content-Type: text/html Content-Length: 1350 Date: Fri, 07 Nov 2008 12:08:05 GMT 6. window.location('creator/') -> receive login page ------------------------------------------------------------------ GET /creator/ HTTP/1.1 Host: kreios:8080 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-gb,en;q=0.5 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://kreios:8080/creator/964118A5E88017AEB7560C27C867DED7.cache.html Cookie: x-auto-11=m%3Asize%7Cf%3A447; JSESSIONID=91AE7616B49FFC4F26EFC2A4954335BB If-Modified-Since: Thu, 06 Nov 2008 17:00:18 GMT If-None-Match: W/"1350-1225990818000" HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Pragma: No-cache Cache-Control: no-cache Expires: Thu, 01 Jan 1970 01:00:00 GMT Set-Cookie: JSESSIONID=91AE7616B49FFC4F26EFC2A4954335BB; Path=/ ETag: W/"262-1225988484000" Last-Modified: Thu, 06 Nov 2008 16:21:24 GMT Content-Type: text/html Content-Length: 262 Date: Fri, 07 Nov 2008 12:08:08 GMT
Username:
Password:

7. Login -> receive redirect ------------------------------------------------------------------ POST /creator/j_security_check HTTP/1.1 Host: kreios:8080 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-gb,en;q=0.5 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://kreios:8080/creator/ Cookie: x-auto-11=m%3Asize%7Cf%3A447; JSESSIONID=91AE7616B49FFC4F26EFC2A4954335BB Content-Type: application/x-www-form-urlencoded Content-Length: 30 j_username=super&j_password=pw HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 Location: http://kreios:8080/creator/ Content-Length: 0 Date: Fri, 07 Nov 2008 12:08:39 GMT 8. Follow redirect, request / -> Receive 304 - FAIL (Firefox displays login page) ------------------------------------------------------------------ GET /creator/ HTTP/1.1 Host: kreios:8080 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-gb,en;q=0.5 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://kreios:8080/creator/ Cookie: x-auto-11=m%3Asize%7Cf%3A447; JSESSIONID=91AE7616B49FFC4F26EFC2A4954335BB If-Modified-Since: Thu, 06 Nov 2008 16:21:24 GMT If-None-Match: W/"262-1225988484000" HTTP/1.1 304 Not Modified Server: Apache-Coyote/1.1 Pragma: No-cache Cache-Control: no-cache Expires: Thu, 01 Jan 1970 01:00:00 GMT X-Powered-By: Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)/Tomcat-5.5 ETag: W/"1350-1225990818000" Date: Fri, 07 Nov 2008 12:08:39 GMT 9. Ctrl-R -> Receive 'real' page OK ------------------------------------------------------------------ GET /creator/ HTTP/1.1 Host: kreios:8080 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-gb,en;q=0.5 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://kreios:8080/creator/ Cookie: x-auto-11=m%3Asize%7Cf%3A447; JSESSIONID=91AE7616B49FFC4F26EFC2A4954335BB If-Modified-Since: Thu, 06 Nov 2008 16:21:24 GMT If-None-Match: W/"262-1225988484000" Cache-Control: max-age=0 HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Pragma: No-cache Cache-Control: no-cache Expires: Thu, 01 Jan 1970 01:00:00 GMT X-Powered-By: Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)/Tomcat-5.5 ETag: W/"1350-1225990818000" Last-Modified: Thu, 06 Nov 2008 17:00:18 GMT Content-Type: text/html Content-Length: 1350 Date: Fri, 07 Nov 2008 12:08:51 GMT