[Carbon-dev] Notify the user when the session timeout occurs
Sameera Jayasoma
sameera at wso2.com
Mon Jan 31 04:44:09 PST 2011
Hi Azeez,
On Mon, Jan 31, 2011 at 6:08 PM, Afkham Azeez <azeez at wso2.com> wrote:
> Sameera,
> Wrapping all functions is not something which we could do. There should be
> some common code which checks this, perhaps in header.jsp or template.jsp
>
I understand your point. This common function was there in the UI framework
for more than one year. For the 1st part of this problem we can give a
platform-wide solution. But I am not sure how to solve the 2nd part. Will
meditate more on this and get back to you.
Thanks
Sameera
>
> Azeez
>
>
> On Mon, Jan 31, 2011 at 7:33 AM, Sameera Jayasoma <sameera at wso2.com>wrote:
>
>> Hi Kasun/Azeez,
>>
>> We have a platform-wide solution for this issue. But it solves the 50% of
>> the problem. :) Let me explain.
>>
>> 1) When the session has timed out, if you click on menu item on the left
>> navigation bar, you will be redirected to sign-in page without any
>> notifications. We need to fix this part of the problem.
>>
>> 2) But if you are in the middle of a workflow, i.e. a component UI page,
>> you should get a notification saying "Your session has timed out. Please
>> login". This part is solved.
>>
>> In your UI component, please wrap each and every javascript function(which
>> talk to the backend) as illustrated below.
>>
>> function performInstallation(actionType) {
>> *sessionAwareFunction(function() {*
>> /// Your Javascript code
>> *});*
>> }
>>
>> Component owners, please make sure that you've added this in your
>> Javascript functions.
>>
>> Thanks
>> Sameera
>>
>> On Sat, Jan 29, 2011 at 5:57 AM, Afkham Azeez <azeez at wso2.com> wrote:
>>
>>> Yes, this is a small usability improvement which will vastly improve the
>>> user experience. Any ideas how this could be done? Some sort of JavaScript
>>> magic?
>>>
>>> On Wed, Jan 26, 2011 at 2:10 AM, Kasun Indrasiri <kasun at wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> In all the wso2 products, there aren't any notification given in the
>>>> management console when the session is time out. So a given user
>>>> will realize that his session is time out only when he interacts with the
>>>> Mgmt Console. (similar user experience @ [1]).
>>>>
>>>> IMO, we need to have this feature in management console of all carbon
>>>> based products.
>>>> WDYT?
>>>>
>>>> [1] https://wso2.org/jira/browse/CARBON-4115
>>>>
>>>> Thanks.
>>>> --
>>>> Kasun Indrasiri
>>>> Senior Software Engineer
>>>> WSO2, Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> cell: <tel:+94715364128>+94 71 536 4128 <tel:+94715364128>
>>>> Blog : http://kasunpanorama.blogspot.com/
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> Carbon-dev at lists.wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com
>>> ,
>>> *
>>> *
>>> *Member; Apache Software Foundation; **http://www.apache.org/*<http://www.apache.org/>
>>> *
>>> email: **azeez at wso2.com* <azeez at wso2.com>* cell: <tel:+94773320919>+94
>>> 77 3320919 <tel:+94773320919>
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> Carbon-dev at wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Sameera Jayasoma
>> Technical Lead and Product Manager, WSO2 Carbon
>>
>> WSO2, Inc. (http://wso2.com)
>> email: sameera at wso2.com
>> blog: http://tech.jayasoma.org
>>
>> Lean . Enterprise . Middleware
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev at wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> *
> *
> *Member; Apache Software Foundation; **http://www.apache.org/*<http://www.apache.org/>
> *
> email: **azeez at wso2.com* <azeez at wso2.com>* cell: +94 77 3320919<tel:+94773320919>
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev at wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
--
Sameera Jayasoma
Technical Lead and Product Manager, WSO2 Carbon
WSO2, Inc. (http://wso2.com)
email: sameera at wso2.com
blog: http://tech.jayasoma.org
Lean . Enterprise . Middleware
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.wso2.org/pipermail/carbon-dev/attachments/20110131/ad1e264c/attachment-0001.htm>
More information about the Carbon-dev
mailing list