Yes, the client and server are both on my localhost (I also tried 127.0.0.1), and that is the requesting/sending url. Hmmm, I tried setting that specific header (resp.addHeader("my-custom-header", "foo");), but there's no indication it's sending(from RequestDumpervalse output) or receiving(from LiveHTTPHeaders output) that header value.
LiveHTTPHeaders output: http://localhost:8080/webkell/webkell POST /webkell/webkell HTTP/1.1 Host: localhost:8080 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 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: en-us,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://localhost:8080/webkell/ Content-Type: application/x-www-form-urlencoded Content-Length: 63 bkexpr=login+%28+user+-username+root+-password+password+%29%3B+ HTTP/1.x 200 OK Server: Apache-Coyote/1.1 Content-Length: 96 Date: Wed, 23 Apr 2008 17:38:02 GMT RequestDumperValve output: DEBUG [http-8080-1] (ExpressionVisitor.java:620) - Login: userSession: <userSession xmlns='com/inter rupt/bookkeeping/users' id='686bbca4f757b9ab-4f1027f81197c5d02ae-7ffb' groupid='webkell' userid='roo t' /> END EchoServlet EV: <userSession xmlns='com/interrupt/bookkeeping/users' id='686bbca4f757b9ab-4f1027 f81197c5d02ae-7ffb' groupid='webkell' userid='root' /> Apr 23, 2008 1:38:02 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: --------------------------------------------------------------- Apr 23, 2008 1:38:02 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: authType=null Apr 23, 2008 1:38:02 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: contentLength=96 Apr 23, 2008 1:38:02 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: contentType=null Apr 23, 2008 1:38:02 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: cookie=JSESSIONID=FA7EBDD5908EEB626BDEBB45367D964C; domain=null; path=/webkell Apr 23, 2008 1:38:02 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: header=Content-Length=96 Apr 23, 2008 1:38:02 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: header=Date=Wed, 23 Apr 2008 17:38:02 GMT Apr 23, 2008 1:38:02 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: message=null Apr 23, 2008 1:38:02 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: remoteUser=null Apr 23, 2008 1:38:02 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: status=200 Apr 23, 2008 1:38:02 PM org.apache.catalina.valves.RequestDumperValve invoke INFO: =============================================================== Tim ----- Original Message ---- From: Christopher Schultz <[EMAIL PROTECTED]> To: Tomcat Users List <users@tomcat.apache.org> Sent: Wednesday, April 23, 2008 10:35:37 AM Subject: Re: Tomcat not sending JSESSIONID (servlet session cookie) with new sessions -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tim, Timothy Washington wrote: | Thanks for the feedback so far. I actually kept the interactions as | simple as possible exactly to minimize any unknown behaviour. There's no | SSL or filters in the application yet. So, there's pretty much nothing in the way. Where is your client in relation to Tomcat? Is this on localhost, or over a network? Is is possible that you have a firewall or proxy that is removing the Set-Cookie header? I would imagine that some corporate firewalls do that to enforce a no-cookies policy. What if you try to set your own header on the response (before or after the 'perform' method is invoked)? Try something like: response.addHeader("my-custom-header", "foo"); ...and see if that makes it back to the client. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgPSTkACgkQ9CaO5/Lv0PCC5QCfZCdZ96e6JccC9e/KuwDVqKwL 87wAn29FZvSE+GJgmVlPJMFC+MLsrR/y =0J/F -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/