On Mon, Jan 24, 2011 at 8:56 PM, 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. > Yes, that is the way to implement that. So some of the UI components need to be fixed. > > WDYT ? > > 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 > > -- *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
