public void sessionDestroyed(HttpSessionEvent se) { bool setDomain = [email protected]() == null; if (setDomain) { AppDomain servletDomain = (AppDomain)se.getSession().getServletContext().getAttribute(J2EEConsts.APP_DOMAIN); if (servletDomain == null) { return; } [email protected](servletDomain); } try { HttpSessionStateContainer container = ServletSessionStateStoreProvider.CreateContainer(se.getSession()); SessionStateUtility.RaiseSessionEnd(container, this, EventArgs.Empty); } catch (Exception e) { Debug.WriteLine(e.Message); Debug.WriteLine(e.StackTrace); } finally { if (setDomain) { [email protected](); } } }
public void sessionDestroyed (HttpSessionEvent se) { bool setDomain = [email protected] () == null; if (setDomain) { AppDomain servletDomain = (AppDomain) se.getSession ().getServletContext ().getAttribute (J2EEConsts.APP_DOMAIN); if (servletDomain == null) return; [email protected] (servletDomain); } try { HttpSessionStateContainer container = ServletSessionStateStoreProvider.CreateContainer (se.getSession ()); SessionStateUtility.RaiseSessionEnd (container, this, EventArgs.Empty); } catch (Exception e) { Debug.WriteLine (e.Message); Debug.WriteLine (e.StackTrace); } finally { if (setDomain) { [email protected] (); } } }
public void sessionCreated(HttpSessionEvent se) { }
public void sessionCreated (HttpSessionEvent se) { }