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*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev