Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 70373 invoked from network); 2 Jul 2003 18:32:40 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 2 Jul 2003 18:32:40 -0000 Received: (qmail 5697 invoked by uid 97); 2 Jul 2003 18:35:08 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@nagoya.betaversion.org Received: (qmail 5690 invoked from network); 2 Jul 2003 18:35:07 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 2 Jul 2003 18:35:07 -0000 Received: (qmail 68413 invoked by uid 500); 2 Jul 2003 18:32:21 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 68402 invoked from network); 2 Jul 2003 18:32:21 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 2 Jul 2003 18:32:21 -0000 Received: (qmail 55098 invoked by uid 1059); 2 Jul 2003 18:32:20 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 2 Jul 2003 18:32:20 -0000 Date: Wed, 2 Jul 2003 11:32:20 -0700 (PDT) From: "Craig R. McClanahan" To: Struts Users Mailing List Subject: Re: Session ID always being appended even with cookies enabled? In-Reply-To: <009001c340bc$7c788b90$8300a8c0@cmc.com> Message-ID: <20030702112942.Q32753@icarus.apache.org> References: <009001c340bc$7c788b90$8300a8c0@cmc.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Wed, 2 Jul 2003, David Erickson wrote: > Date: Wed, 2 Jul 2003 11:07:52 -0600 > From: David Erickson > Reply-To: Struts Users Mailing List > To: Struts Mailing List > Subject: Session ID always being appended even with cookies enabled? > > Well I've been setting up struts and for some reason struts is always > rewriting my urls with the session id in it, even though I know for sure > that cookies are enabled.. I know this is pretty vague but does anyone know > what would cause this? Tomcat (at least) is pretty conservative about deciding whether the client supports cookies or not. On the first request for a session, it sends the session id both ways (encoded and cookie), and only turns off encoding if the subsequent request actually included the cookie. If you're still seeing encoded URLs on the second (and later) requests, you probably either have a client problem with cookies, and/or some sort of proxy or filter in between you and the server that might be swiping the session id cookie. > thanks > -David Craig --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org