Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 58016 invoked from network); 27 Apr 2004 10:13:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Apr 2004 10:13:43 -0000 Received: (qmail 82354 invoked by uid 500); 27 Apr 2004 10:13:07 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 82327 invoked by uid 500); 27 Apr 2004 10:13:06 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 82307 invoked from network); 27 Apr 2004 10:13:06 -0000 Received: from unknown (HELO morpheus.messagio.int) (195.5.211.156) by daedalus.apache.org with SMTP; 27 Apr 2004 10:13:06 -0000 Received: from messagio.com (unknown [192.168.0.70]) by morpheus.messagio.int (Postfix) with ESMTP id 7A27F1B5BB1 for ; Tue, 27 Apr 2004 12:13:19 +0200 (CEST) Message-ID: <408E32B5.2040204@messagio.com> Date: Tue, 27 Apr 2004 12:15:17 +0200 From: olivier demah User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.6) Gecko/20040113 X-Accept-Language: fr-fr MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Problem about Sitmap References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Jian Dai a �crit : >Hi, all: > >I have a problem about how to use choose in sitmap. Here is the sample code > > > > > > > > > > > > > >Basically, I would this check session attribute of "userid". If it is not >set (is null), it should direct to loginform.html. >Otherwise, it go to other.html. My problem is that I do not know how to set >the test value here to make it work. >Obviously, test="null" does not work here. > >I will very appreciate if somebody can give me a clue about this. Many >thanks in advance for the nice help. > >Jack > > > if you need to manage access / session i recommand that you look at the Authentication FrameWork http://cocoon.apache.org/2.1/developing/webapps/authentication.html regards. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org