From: Chuck H. <ch...@gl...> - 2011-04-28 23:18:51
|
That information has to come from somewhere. The usual choices are cookies, URL, or the session. The last one is ruled out, so... I can't think of any other options. Well, you could store it in the database on each request and look it up based on user ID when they log back in. Chuck On Apr 28, 2011, at 4:02 PM, Atli Páll Hafsteinsson wrote: > well, the idea was that since we are practically not storing anything > in the session other than the fact that the user is logged in we > wanted to provide the user with a login dialog when this happens and > then display the component he/she was trying to access after a > successfull relogin. Maybe there is a better way todo that? > > Atli Páll Hafsteinsson > atl...@gm... > > > > 2011/4/28 Atli Páll Hafsteinsson <atl...@gm...>: >> Thanx, will probably just drop my idea :) >> >> Atli Páll Hafsteinsson >> atl...@gm... >> >> >> >> 2011/4/28 Chuck Hill <ch...@gl...>: >>> It is not possible. That information is associated with the session and if you can't restore the session then it, and that information, no longer exists. Your best best is probably to encode this in the URL or cookies (though with backtracking that will get confused). >>> >>> Chuck >>> >>> On Apr 28, 2011, at 1:30 AM, Atli Páll Hafsteinsson wrote: >>> >>>> Hi >>>> >>>> I am trying to determine what component the user was trying to load >>>> within handleSessionRestorationErrorInContext(WOContext context) , >>>> context.page() and context.component() both return null. >>>> >>>> Any one know how/if it is possible? >>>> >>>> Regards, >>>> Atli Páll Hafsteinsson >>>> atl...@gm... >>> >>> -- >>> Chuck Hill Senior Consultant / VP Development >>> >>> Come to WOWODC this July for unparalleled WO learning opportunities and real peer to peer problem solving! Network, socialize, and enjoy a great cosmopolitan city. See you there! http://www.wocommunity.org/wowodc11/ >>> >>> >> -- Chuck Hill Senior Consultant / VP Development Come to WOWODC this July for unparalleled WO learning opportunities and real peer to peer problem solving! Network, socialize, and enjoy a great cosmopolitan city. See you there! http://www.wocommunity.org/wowodc11/ |