Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 76048 invoked from network); 8 Apr 2005 09:21:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Apr 2005 09:21:25 -0000 Received: (qmail 19475 invoked by uid 500); 8 Apr 2005 09:21:14 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 19423 invoked by uid 500); 8 Apr 2005 09:21:14 -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 19409 invoked by uid 99); 8 Apr 2005 09:21:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of MiguelAngel.Marin@isotrol.com designates 62.81.192.66 as permitted sender) Received: from 66.64.192.81.62.in-addr.arpa (HELO isotrol.com) (62.81.192.66) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 08 Apr 2005 02:21:12 -0700 Received: from localhost (localhost [127.0.0.1]) by isotrol.com (Postfix) with ESMTP id 5E4E56C280; Fri, 8 Apr 2005 11:21:06 +0200 (CEST) Received: from isotrol.com ([127.0.0.1]) by localhost (srv007.red.isotrol.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03513-01-60; Fri, 8 Apr 2005 11:21:06 +0200 (CEST) Received: from [127.0.0.1] (unknown [192.168.104.142]) by isotrol.com (Postfix) with ESMTP id E71F66C044; Fri, 8 Apr 2005 11:21:05 +0200 (CEST) Message-ID: <42564CFC.3010608@isotrol.com> Date: Fri, 08 Apr 2005 11:21:00 +0200 From: =?ISO-8859-1?Q?Miguel_Angel_Mar=EDn_Moreno?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.7.3) Gecko/20040910 X-Accept-Language: es-es, es MIME-Version: 1.0 To: users@cocoon.apache.org Subject: problem withs sessions running JSPs in COCOON (ver. 2.1.4) References: <425241D8.1020704@isotrol.com> <43311.165.98.153.184.1112733599.squirrel@www.agssa.net> <42538599.6090103@isotrol.com> <49661.165.98.153.184.1112771664.squirrel@www.agssa.net> <425393D6.6030909@isotrol.com> In-Reply-To: <425393D6.6030909@isotrol.com> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at isotrol.com X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all! I have a problem with essions in cocoon. In my pipeline I execute a piece of code in JSP using CINCLUDE transformer. In this piece of code I load some values in the session which ones later I need to get with executing another JSP. (I can't use cocoon's sessions/context because I can't get its values from the JSP code) In other words, I'll try to explain it better with the code (read the comments please) this is my pipeline: This is the piece of JSP code: > <%@ page language="Java" session="true"%> encoding="ISO-8859-1"?> > <%@ page import="java.util.*" %> > <%!String nombre; > Integer edad; > String sessionId; %> > <%nombre=request.getParameter("nombre"); > edad=Integer.parseInt(request.getParameter("edad")); > sessionId = session.getId(); > session.setAttribute("nombre",nombre); > session.setAttribute("edad",edad);%> > > <%=nombre%> > <%=edad%> > <%=sessionId%> > I get the SessionID so I can prove that it's different of the one I have in the browser :(( Finally I try to recovery the info I've saved in the JSP session using another pipeline similar to this one which execute a JSP code too. As the session in which the JSP runs is different each time I cannot get the values.... Any idea? Thanks in advance!! Miguel Angel Mar�n --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org