Mail Archive Home | enhydra List | December 2005 Index
| <-- Date Index --> | <-- Thread Index --> |
Hi Phoebe, Regarding Sessions -------------------- Every enhydra application has its own SessionManager!Concrete 'SessionManager' (that will be initiated for specific application) implementation can be set trough 'SessionManager/Class' (web.xml) parameter. EAF offers number of 'SessionManager' implementations ('com.lutris.appserver.server.sessionEnhydra.StandardSessionManager' is default) but also offers (additional functionality of Enhydra 6.x) possibility to include your own 'SessionManager' implementation.
Session timeout (idle time) for Enhydra application (its 'SessionManager' instance) is set trough 'SessionManager/MaxIdleTime' parameter. This parameter sets maximum number of minutes a user may be idle before being logged off.
sample config (web.xml) ------------------------- <env-entry> <env-entry-name>SessionManager/MaxIdleTime</env-entry-name> <env-entry-value>10</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> 'MaxIdleTime' parameter has its default value set to 30 (minutes)!Therefore, I presume that you already have 'SessionManager/MaxIdleTime' parameter set (to 10) somewhere in your 'web.xml'.
Regarding EAF source code -----------------------------EAF (Enhydra Application Framework) is (since Enhydra 6.x) separate objectweb project and (therefore) we integrate only its binaries (and documentation).
Sources can be downloaded from projects homepage! http://eaf.objectweb.org/ Regards, Slobodan Vujasinovic Enhydra Development Team pwhitefield@xxxxxxxxxxxx wrote:
To all or very few Enhydra users out there, I am now at the end of my search related to session timeout. I am using Enhydra 6.4.1 as my application server. For my application, I am using HttpPresentationServlet as my servlet. I set the session timeout in my web.xml to be 30 minutes such as following <session-config> <session-timeout>30</session-timeout> </session-config>Also, in my application, when the user invokes the login page, I obtain the http session and set the session timeout to 30 minutes by HttpPresentationComms.session.getHttpSession().setMaxInactiveInterval(1800);Still the session timeout after 10 minutes.The question I have -Where is the source code for enhydra server 6.4.1. This way, at least I can take a look to see if it is set in enhydra. And try to reset it back to longer time. I can't find the source code. I downloaded a source code zip from http://forge.objectweb.org/project/showfiles.php?group_id=21&release_id=1150when I unzip it, it did not have the source code for EAF modules. Why???? Is enhydra open source project? If it is, where is the source code? I went to the CVS site fromhttp://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/enhydra/Enhydra/modules/EnhydraAppManager/src/com/lutris/ it is difficult to find out the source code for enhydra 6.4.1? Ummmmm.... Then I did a web search to find out if there is knowledge out there that can lead me to the right path. No, not a single article. The only interesting one I came across, it stated that enhydra is no longer open source. It is taken by objectweb and turn into close source. Is that true?What's wrong here? As I understood from tomcat, each application can set it's own session timeout by doing what I did as above. Please help.thanks Phoebe------------------------------------------------------------------------ -- You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx mailing list. To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.