We have to have a consistent approach in terms of using sessions. In
Stratos, if this is not properly followed, everything starts crumbling, when
LB comes in front.

On Tue, Jan 25, 2011 at 9:55 AM, Afkham Azeez <[email protected]> wrote:

> Some of the existing component UIs fail (mainly NPE) because they assume
> certain things to be in the HTTP session. We need to fix the components to
> return to the relevant initial UI, if certain information required is not
> present. I think we should get this in for Carbon 3.2.0
>
> Azeez
>
> On Mon, Jan 24, 2011 at 8:09 PM, Samisa Abeysinghe <[email protected]>wrote:
>
>>
>>
>> On Tue, Jan 25, 2011 at 9:34 AM, Sumedha Rubasinghe <[email protected]>wrote:
>>
>>>
>>>
>>> On Tue, Jan 25, 2011 at 9:27 AM, Nuwan Bandara <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> Yeah, we can get this to work with "cookie magic", at navigation we
>>>> should simply save the current page path in a cookie (need to set some
>>>> expiring time), and at timed-out login, we can read the cookie and get the
>>>> page we were last at and send the person to that page straight away.
>>>>
>>>> There is a problem with this approach. Not all components support
>>> generating a specific UI by using a URL alone. Some UI components are
>>> written to depend on the previous page from which it was called.
>>>
>>> This is why the already implemented mechanism does not work & commented
>>> out.
>>>
>>
>> So what is the solution then?
>>
>>  Thanks,
>> Samisa...
>>
>> Samisa Abeysinghe
>> VP Engineering
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>>
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://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: **[email protected]* <[email protected]>* cell: +94 77 3320919
> 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
> [email protected]
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
> Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to