Hi, In the Servlet API, javax.servlet.http.HttpSessionListener is what you need to look at. Here's a link:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/servletapi/javax/servlet/http/HttpSessionListener.html Regards, Daniel On Mon, 17 May 2004, Mark Lybarger wrote: > we have a requirement that a user can only be logged in from one session at a time. > also we're logging them out when they close their browser. we're using a database > flag to show it they're logged in, and prevent subsequent logins based on that. > > the problem is that if the user's session times out when logged in (database has > isLoggedIn set to true), they won't be able to re log into our application. is > there a way in the turbine framework to tie into the session invalidation? i see a > setting for the timeout period in the tr.props file, but no way to apply a piece of > code to run when this happens. > > any suggestions/insights would be most appreciaited. > > thanks! > mark > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]