On Fri, Apr 25, 2014 at 6:57 PM, Ramith Jayasinghe <[email protected]> wrote:
> BTW, this means we have to upgrade our jaggery version to > 0.9.0.ALPHA4.wso2v4 > Since you used 0.9.0.ALPHA4.wso2v1. Moving into 0.9.0.ALPHA4.wso2v4 from 0.9.0.ALPHA4.wso2v1 is not much issue in my idea, there is no much changes. (Jaggery module level few). Since both version used same carbon version., (AFIK there is no API changes) > > 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>* >> > > > > -- > Ramith Jayasinghe > Technical Lead > WSO2 Inc., http://wso2.com > lean.enterprise.middleware > > E: [email protected] > P: +94 776715671 > > -- *Madhuka* Udantha Senior Software Engineer Development Technologies WSO2 Inc. : http://wso2.com *Mobile*: +94774066336 *Blog*: http://madhukaudantha.blogspot.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
