Use the following instructions to see the outgoing cookie
sent by the servlet engine to the Web client. This will get the cookie
information without other trace information showing.
Here is a description of how to setup the trace: http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?tab=search&searchWord=enabling+trace
Use the following trace string:
com.ibm.servlet.engine.srt.SRTServletResponse=debug=enabled
The resulting output in the trace output file will be similar to the
following:
[4/9/04 12:50:21:219 EDT] 7e59ea1 SRTServletRes D set response
character encoding: ISO-8859-1
[4/9/04 12:50:23:250 EDT] 7e59ea1 SRTServletRes D created
writer with encoding: ISO8859_1
[4/9/04 12:50:23:250 EDT] 7e59ea1 SRTServletRes D Setting
attribute for com.ibm.websphere.acquiring_uri
[4/9/04 12:50:23:250 EDT] 7e59ea1 SRTServletRes D Writer
obtained while serving "/Cookie/CookieTest.jsp"
[4/9/04 12:50:23:250 EDT] 7e59ea1 SRTServletRes D Setting
attribute for com.ibm.websphere.committing_uri
[4/9/04 12:50:23:250 EDT] 7e59ea1 SRTServletRes D Commit
occurred while serving "/Cookie/CookieTest.jsp"
[4/9/04 12:50:23:250 EDT] 7e59ea1 SRTServletRes D Response HTTP
status code: 200
[4/9/04 12:50:23:250 EDT] 7e59ea1 SRTServletRes D Commit header
[Content-Type:text/html]
[4/9/04 12:50:23:250 EDT] 7e59ea1 SRTServletRes D Commit header
[Set-Cookie:JSESSIONID=0000ZQTQDT4GEB1SNMGW0R5S4AA:-1;Path=/]
[4/9/04 12:50:23:250 EDT] 7e59ea1 SRTServletRes D Commit header
[Cache-Control:no-cache="set-cookie,set-cookie2"]
[4/9/04 12:50:23:250 EDT] 7e59ea1 SRTServletRes D Commit header
[Expires:Thu, 01 Dec 1994 16:00:00 GMT]
[4/9/04 12:50:23:250 EDT] 7e59ea1 SRTServletRes D Commit header
[Set-Cookie:hostResponseNum=Integer.MAX_VALUE]
[4/9/04 12:50:23:250 EDT] 7e59ea1 SRTServletRes D Commit header
[Content-Language:en]
|