Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@www.apache.org Received: (qmail 76377 invoked from network); 25 Sep 2003 23:06:48 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Sep 2003 23:06:48 -0000 Received: (qmail 99602 invoked by uid 500); 25 Sep 2003 23:06:14 -0000 Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 99584 invoked by uid 500); 25 Sep 2003 23:06:14 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 99571 invoked from network); 25 Sep 2003 23:06:14 -0000 Received: from unknown (HELO web41606.mail.yahoo.com) (66.218.93.106) by daedalus.apache.org with SMTP; 25 Sep 2003 23:06:14 -0000 Message-ID: <20030925230622.83450.qmail@web41606.mail.yahoo.com> Received: from [156.80.162.100] by web41606.mail.yahoo.com via HTTP; Thu, 25 Sep 2003 16:06:22 PDT Date: Thu, 25 Sep 2003 16:06:22 -0700 (PDT) From: Warren Chen Subject: how to tell invalid session vs session timed out To: Struts Users Mailing List In-Reply-To: <50BD7097D5D782459B11B8802303748117B205@mail.saminvestments.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Hi All, Is there any tool in Struts that can tell if an invalid session is caused by timeout or simply no session were ever created? (In my app, the loginAction creates a session and put some stuff into the session, in each subsequent request I'll check if session is valid, if not, send user back to login page - in order to send more meaningful message to user, I want to tell if invalid session is caused by timeout out or simply the user never logged in) Thanks a lot! Warren __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org