Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 27891 invoked from network); 2 Mar 2007 09:54:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2007 09:54:50 -0000 Received: (qmail 78363 invoked by uid 500); 2 Mar 2007 09:54:46 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 78342 invoked by uid 500); 2 Mar 2007 09:54:46 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 78331 invoked by uid 99); 2 Mar 2007 09:54:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2007 01:54:46 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of daniele.varacca@gmail.com designates 64.233.184.232 as permitted sender) Received: from [64.233.184.232] (HELO wr-out-0506.google.com) (64.233.184.232) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2007 01:54:35 -0800 Received: by wr-out-0506.google.com with SMTP id 37so266421wra for ; Fri, 02 Mar 2007 01:54:14 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=YOpYarTE7upluoFdsht0B47kbgxcu7F5np72OAZJNSX93BQlvpR+ugW6tgJn2qxz+Qrm1yz6rvHJSR8UZyVNP6p20IffXBj56CN24Zf5aZ5Ib9xo05Ic3ZNGbG7sHiRvEw+vXGaJBZOSmc24JfzPqb7k9lgsGQ7BkawARZDmkl4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Yo92Q6CwcFdmyjGOPl3DUL3Ir3bMUbbwygOlyomD3L/2VMa9P/86lNSGa66LFdCZHVWG4CYlNnj8mRvUD9b+RfKio3CHt9mbirRhKI5Oc1h9j6MsIieAw9vQ52gqrUARc36zMU6tXwK7Sjyg9MkFSUSwelsmVVPvl82he/sPIvM= Received: by 10.115.23.12 with SMTP id a12mr169854waj.1172829253914; Fri, 02 Mar 2007 01:54:13 -0800 (PST) Received: by 10.114.181.5 with HTTP; Fri, 2 Mar 2007 01:54:13 -0800 (PST) Message-ID: Date: Fri, 2 Mar 2007 10:54:13 +0100 From: "Daniele Varacca" To: users@tomcat.apache.org Subject: Session and URL encoding of tilde MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi there, my problem is as follows: I am under LINUX. When I use explicitly the symbol "~" in the URL, tomcat keeps track correctly of the session. When the tilde is encoded as "%7e" tomcat forgets the session. And I cannot avoid this, as the sendRedirect method encodes the tilde by default. Any ideas? Daniele Now for the gory details: There are multiple users in the system. For every user "login" there is a webapp "/login/public_html/foobar", and I have set tomcat to access it when requested at "http://localhost/~login/foobar" It works fine as long as the sendRedirect method is not used. But once sendRedirect is called, the URL becomes "http://localhost/%7elogin/foobar" and session tracking no longer works. I use firefox or iceweasel, with cookies enabled. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org