Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 82815 invoked from network); 1 Jul 2002 16:58:11 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by 209.66.108.5 with SMTP; 1 Jul 2002 16:58:11 -0000 Received: (qmail 6655 invoked by uid 97); 1 Jul 2002 16:57:32 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 6605 invoked by uid 97); 1 Jul 2002 16:57:31 -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 6516 invoked by uid 98); 1 Jul 2002 16:57:29 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <2C1BAF8F8E1DD611862B0002A5D4C3FC30E830@RENEXCH3.rennes.thmulti.com> From: Heligon Sandra To: "'struts-user@jakarta.apache.org'" Subject: HttpSession initialisation Date: Mon, 1 Jul 2002 18:58:07 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N Hi, Sorry to question about this newbie point but I don't find answer in the Struts documentation. I don't understand how the sessions are created in Struts ? Which component is responsible of this task ? I think that it is the controller but each application has to program it with a getSession(true/false) or is it an automatic process ? Where the session creation must be done ? If I have a form login/logout in my application, the Action associated to this page must do the session creation, isn't it ? Action example: Execute(){ // Ask Login to a desktop authentication server // Create Session, is it possible to set the session identifier // to associate it to a database index for instance // Where the session is stored? } After for each request I can test the HttpSession in the method of the RequestProcessor. If the application controls the session creation (in a execute() action method) what is the interest in sessionCreate() method in the HttpSessionListener ? For the delete, the session is destroyed automatically after the timeout. Is the timeout configurable in a properties file ? Thanks a lot for you help -- To unsubscribe, e-mail: For additional commands, e-mail: