Hi, Sorry didn't know that. Does other session related listeners such as event listeners and activation listeners are also supported?
[1] - http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpSessionEvent.html [2] - http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpSessionActivationListener.html Regards, Dilshan On Fri, Apr 25, 2014 at 6:35 PM, Ruchira Wageesha <[email protected]> wrote: > Hi Ramith, > > In Jaggery master(from 0.9.0.ALPHA4.wso2v4 onwards), we have added that > support. You can specific scripts to be executed for session create/destroy > events. i.e. In jaggery.conf you can have the following. Within the > scripts, you can also access the session being created/destroyed via > "session" global. > > { > "sessionCreatedListeners": ["created.js"], > "sessionDestroyedListeners": ["destroyed.js"] > } > > /Ruchira > > > On Fri, Apr 25, 2014 at 6:20 PM, Ramith Jayasinghe <[email protected]>wrote: > >> in Appfactory we have a requirement for intercept http sessions being >> created and invalidated. in a typical web application this could be done by >> having following settings in web.xml: >> >> >> <web-app ...> >> <listener> >> >> <listener-class>org.wso2.carbon.sample.MyHttpSessionListener</listener-class> >> </listener></web-app> >> >> >> Could we have something similar in jaggery too? >> currently having following in jaggery.conf doesn't seems to do anything: >> >> "listener": >> { >> "listener-class":"org.wso2.carbon.sample.MyHttpSessionListener" >> } >> >> Thoughts Please? >> >> P.S.: we are using Jaggery v 0.9.0.ALPHA4.wso2v1 >> >> >> -- >> Ramith Jayasinghe >> Technical Lead >> WSO2 Inc., http://wso2.com >> lean.enterprise.middleware >> >> > > > -- > > *Ruchira Wageesha**Associate Technical Lead* > *WSO2 Inc. - lean . enterprise . middleware | wso2.com <http://wso2.com>* > > *email: [email protected] <[email protected]>, blog: > ruchirawageesha.blogspot.com <http://ruchirawageesha.blogspot.com>, > mobile: +94 77 5493444 <%2B94%2077%205493444>* > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Dilshan Edirisuriya Senior Software Engineer - WSO2 Mob: + 94 777878905 http://wso2.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
