I have not extended httpservlet, I don't see why I would have to do
this?
You don't... sorry (was still on first cup of coffeee ;))
You've tried putting println statements in the sessionCreated and
sessionDestroyed methods to verify that they're not being called?
On Wed, 2004-12-08 at 06:16, Mark Benussi wrote:
Hi Ben,
I have not extended httpservlet, I don't see why I would have to do this?
package helpers;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;
public class SessionHelper implements HttpSessionListener {
public void sessionCreated(HttpSessionEvent sessionEvent) {
int x = 1;
// Not called
}
public void sessionDestroyed(HttpSessionEvent sessionEvent) {
int x = 2;
// Not called
}
}
Original Message Follows
From: Ben Souther [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: HttpSessionListener Interface - Mail Archive not
workingsoapologies for repost
Date: Wed, 08 Dec 2004 06:11:51 -0500
Sorry what I mean is that the methods implemented for the
HttpSessionListener do not get called when I invoke a new session.
You've extended HttpServlet, implemented HttpSessionListener, and the
code in the sessionCreated(HttpSessionEvent event) method is not being
called when you create a new session?
Can you post your code?
-
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]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]