When a session expires or is invalidated, or an attribute gets removed,
HttpSessionBindingListener's valueUnbound callback function should be fired.

However, it seems that WebSession's removeAttribute does not support
HttpSessionBindingListener.

class WebSession implements HttpSession, Externalizable {

    /** {@inheritDoc} */
    @Override public void removeAttribute(String name) {
        if (!isValid)
            throw new IllegalStateException("Call on invalidated session!");

        attrs.remove(name);

        if (updates != null)
            updates.add(new T2<>(name, null));
    }

...

Somehow, our application relies on the HttpSessionBindingListener's
valueUnbound callback function gets called to clean up resources.

Any advice please?



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/It-seems-WebSession-s-removeAttribute-does-not-support-HttpSessionBindingListener-tp14099.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to