Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 61930 invoked from network); 17 Nov 2004 16:26:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Nov 2004 16:26:25 -0000 Received: (qmail 93064 invoked by uid 500); 17 Nov 2004 16:26:01 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 92995 invoked by uid 500); 17 Nov 2004 16:26:01 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 92868 invoked by uid 99); 17 Nov 2004 16:26:00 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [68.142.225.163] (HELO web54407.mail.yahoo.com) (68.142.225.163) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 17 Nov 2004 08:25:59 -0800 Received: (qmail 48675 invoked by uid 60001); 17 Nov 2004 16:25:55 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=nDADr0OtkZsWTDW5zcqDk22P9wok4PccSGj6NArjhSqZnLaU83U/DHN8nKM16igPjWAQvzh79X1B5Q9RpQ/fehLvEC89ST3wl6/cnLob6wAVdZlkOLL5C9gi384nd32tbmmwwFySFaXL9EJlyS4fOeuxZUet9Y97fBuMgbFyurI= ; Message-ID: <20041117162554.48672.qmail@web54407.mail.yahoo.com> Received: from [24.5.140.85] by web54407.mail.yahoo.com via HTTP; Wed, 17 Nov 2004 08:25:54 PST Date: Wed, 17 Nov 2004 08:25:54 -0800 (PST) From: sven morales Subject: Re: Tomcat 5.X always creates session for every request? To: Tomcat Users List In-Reply-To: <419B371E.3000108@joedog.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N You may want to check how your browser interprets the encoded URL. Compare what has been sent to the browser and what went back towards Tomcat. I was assisting another person the other day and we found out that the cookie is mangled, the "~" was not urlencoded to "%7.." something. I am not saying thats the cause, just check and see if you can observe such characteristics. You can enable RequestDumperValve to see these. --- Tim Funk wrote: > By default JSP's need to be told to *not* ask for a > session via > <%@page session='false'%> > > Otherwise - it sounds like a cookie setting issue > that the client isn't > remembering the sessionid. > > -Tim > > LAM Kwun Wa Joseph wrote: > > > I have implemented a simple HttpSessionListener > dumping every new session > > created. I found that my Tomcat (tried on 5.0.2x > and 5.5.4) will always > > create a new session for every HTTP request, even > if the JSP page doesn't > > request for session and the HTTP client doesn't > use cookie nor post any > > session ID (e.g. direct telnet to port 80). > > > > Are there any config params that relate to this? > Thanks! > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: > tomcat-user-help@jakarta.apache.org > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org