| Summary: | Instead of the sessionDestroyed called sessionCreated after invalidate session | ||
|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | cerh <cerh> |
| Component: | server | Assignee: | Jan Bartel <janb> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | blocker | ||
| Priority: | P3 | CC: | gregw, janb, jetty-inbox, linuxhippy, ph |
| Version: | 7.5.0 | ||
| Target Milestone: | 7.5.x | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
And in 8.0.X version Importance must be "blocker"!!!! Fixed for 7.5.1, including updated junit test to check listeners called correctly. argh!!! better get a unit test for this also! and I just had a patch prepared for this :/ |
Build Identifier: 7.5.0.v20110901 public abstract class AbstractSessionManager extends AbstractLifeCycle implements SessionManager { .... public void removeSession(AbstractSession session, boolean invalidate) { ... if (invalidate && _sessionListeners!=null) { HttpSessionEvent event=new HttpSessionEvent(session); for (HttpSessionListener listener : _sessionListeners) listener.sessionCreated(event); <--!!!!!!!!!! } } } ... } Reproducible: Always