Tomcat 5.5.12, HttpSessionBindingListener, valueUnbound problems - any workarounds?



Hi all,

In Tomcat 5.5.12 which was implemented using a different servlet standard,
the HttpSessionBindingListener loses all the session info once the session
is stopped and its function [void valueUnbound(HttpSessionBindingEvent
event)] is called. I use the function to do some database cleanup after the
session is terminated but I need the "session id". Even the "session id "of
the terminated session is lost. Does anybody have a workaround that
preserves the "session id"? Should I use a different kind of a listener?

Thanks!



.



Relevant Pages

  • Problems with a wrapper class for session object (revisited)
    ... Session and Application objects to improve code clarity and accuracy. ... I have include some example calling code, an example UserSession ... public override void Execute ... public HttpContext Context ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Problems with a wrapper class for session object (revisited)
    ... session-stored lists at some point and, if so, how? ... > Session and Application objects to improve code clarity and accuracy. ... > public override void Execute ... > public HttpContext Context ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Problems with a wrapper class for session object (revisited)
    ... We solved the problem by changing the Session storage setting to State ... Server or SQL Server. ... >> public override void Execute ... >> public HttpContext Context ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: HACL/C++ : ECLConnection::StartCommunication()... doesnt
    ... void MyCommNotify::NotifyEvent(ECLConnection *pConnObj, BOOL connected) ... Now I'm trying to find the right code to restart a session. ...
    (comp.sys.ibm.as400.misc)
  • Session object is NULL in HTTP handler
    ... session in a cookie but the context.session is null. ... Here in the code, the cookieValue is allways without session, ... ... protected void Application_BeginRequest{ ... private void Application_AuthenticateRequest(object source, EventArgs e) ...
    (microsoft.public.dotnet.framework.aspnet)