Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 32532 invoked from network); 14 Sep 2005 11:27:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Sep 2005 11:27:46 -0000 Received: (qmail 73843 invoked by uid 500); 14 Sep 2005 11:27:31 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 73831 invoked by uid 500); 14 Sep 2005 11:27:30 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 73817 invoked by uid 99); 14 Sep 2005 11:27:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2005 04:27:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [80.80.245.4] (HELO phoebe.liland.org) (80.80.245.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2005 04:27:39 -0700 Received: from localhost (localhost [127.0.0.1]) by phoebe.liland.org (Postfix) with ESMTP id 7074637456D for ; Wed, 14 Sep 2005 13:29:00 +0200 (CEST) Received: from phoebe.liland.org ([127.0.0.1]) by localhost (phoebe.liland.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18608-05 for ; Wed, 14 Sep 2005 13:28:58 +0200 (CEST) Received: from [192.168.0.24] (80-80-245-2.stat.klunet.at [80.80.245.2]) by phoebe.liland.org (Postfix) with ESMTP id 9BEE937455F for ; Wed, 14 Sep 2005 13:28:58 +0200 (CEST) Message-ID: <4328091A.7040807@liland.org> Date: Wed, 14 Sep 2005 13:27:22 +0200 From: Edmund Urbani User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050823) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: cross context info References: <432776B3.4090605@interstructure.ca> In-Reply-To: <432776B3.4090605@interstructure.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at liland.org X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Alain Gaeremynck wrote: > I have 2 webapps living on the same server and they are linked to the > same user experiance.. Now both apps require login but i don't want > my users to have to login on both apps. Also while they are browsing > in one context i don't want the session to expire for the other context. > so the question is Is there a way to do session.setAtribute in one > context and retrieve it from another and also to link the 2 session so > that they don't expire or expire at the same time? > i'd like not to have to use hidden iframe and stuff like that > > thanks! > with tomcat there's also a different approach to this problem using the SSOValve (org.liland.tomcat.valve.sso.SingleSignOn). however, in order to use this valve, the webapps need to let tomcat handle the authentication (see http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html or http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html). depending on your webapps this kind of setup may be anything from "simply a matter of configuration" to impossible. Edmund --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org