Nice !!!
thank you for this information.

On Fri, Apr 25, 2014 at 6:35 PM, Ruchira Wageesha <ruch...@wso2.com> 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 <ram...@wso2.com>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: ruch...@wso2.com <ruch...@wso2.com>,   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: ram...@wso2.com
P: +94 776715671
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to