Hi,

On Tue, Jan 25, 2011 at 10:44 AM, Senaka Fernando <[email protected]> wrote:

>
>
> On Tue, Jan 25, 2011 at 10:26 AM, Nuwan Bandara <[email protected]> wrote:
>
>> Hi,
>>
>> Yeah I agree with Sumedha, and there will be issues that we cannot go to
>> the same exact page we were at, when the session times out. But my opinion
>> is, that it is fine.
>>
>> Lets say we were in a middle of some process (maybe creating a proxy
>> service half way through), and when the session times out in the middle, we
>> cannot take the user back to the same exact place with all the data which
>> was in the session (if we need that we will have to persist at each stage).
>> IMO we have a landing page in each component and if we cant take the user to
>> the exact place we will redirect the user to the landing page (in the case
>> of proxy service createion, we take the user to the create proxy service
>> first page). I assume this approach is better than taking the user to the
>> home page always.
>>
>> WDYT ?
>>
>
> JIRA does something nice, FYI, where they sort of remember what you did.
> For instance, if you were developing a huge sequence, the last thing you'd
> want to hear is that the session timed out and you need to start from
> scratch. How about we doing something similar?
>

If so we will have to persist periodically (maybe in the registry), But that
would be a bulky task. Also I donot think a user will be writing a huge
sequence for hour or two, without saving it even once.

Regards,
/Nuwan


>
> Thanks,
> Senaka.
>
>>
>> And yes, I can look into this task
>>
>> Regards,
>> /Nuwan
>>
>>
>> On Tue, Jan 25, 2011 at 9:59 AM, Samisa Abeysinghe <[email protected]>wrote:
>>
>>> 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
>>>
>>>
>>
>>
>> --
>> Thanks & Regards,
>>
>> Nuwan Bandara
>> Software Engineer
>> WSO2 Inc. | http://wso2.com
>> lean . enterprise . middleware
>>
>> http://www.nuwanbando.com
>>
>> <http://www.nuwanbando.com/>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Senaka Fernando*
> Product Manager - WSO2 Governance Registry;
> Associate Technical Lead; WSO2, Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://www.linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks & Regards,

Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

<http://www.nuwanbando.com/>
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to