Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 73552 invoked from network); 20 Jun 2004 14:00:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Jun 2004 14:00:09 -0000 Received: (qmail 95592 invoked by uid 500); 20 Jun 2004 13:59:56 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 95560 invoked by uid 500); 20 Jun 2004 13:59:55 -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 95503 invoked by uid 99); 20 Jun 2004 13:59:55 -0000 Received: from [64.4.11.16] (HELO hotmail.com) (64.4.11.16) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 20 Jun 2004 06:59:55 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 20 Jun 2004 06:59:50 -0700 Received: from 217.121.209.166 by by7fd.bay7.hotmail.msn.com with HTTP; Sun, 20 Jun 2004 13:59:50 GMT X-Originating-IP: [217.121.209.166] X-Originating-Email: [johancoens@hotmail.com] X-Sender: johancoens@hotmail.com From: "johan coens" To: users@cocoon.apache.org Bcc: Subject: Java Flow: request.getSession returns null Date: Sun, 20 Jun 2004 15:59:50 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 20 Jun 2004 13:59:50.0761 (UTC) FILETIME=[DAD12D90:01C456CE] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, Anyone experienced that the request.getSession() returns null when doing nothing for 20 seconds (or longer) and hit the refresh button? I wrote a simple test class that does the following: . get request from objectModel . print request.getSession().getId() When reloading every 10 secs, i allways get the same sessionid When reloading after 20 secs, i get a nullPointerException When reloading again after the npe, i get the same sessionid i;ve previously got It also happens (i think) when posting forms. After a post and refresh of the post the getSession method returns null. anyone got a clue? Cheers, Johan _________________________________________________________________ Ontvang Hotmail & Messenger op je mobiele telefoon http://mobile.msn.com/?lc=nl-nl --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org