RAP, browser widget, cookies and "session timed out"? [message #658924] |
Thu, 10 March 2011 08:01  |
Eclipse User |
|
|
|
Folks;
using a RAP application and (partially) a legacy JSP/servlet based
application which is supposed to run inside a Browser widget, so far.
At the moment, the JSP/servlet application tends to keep some
information in cookies. Right now, I can launch the RAP application,
open the Browser widget (and the application in it) and do things
inside the Browser widget, by then. However, as soon as I want to do
anything else in the RAP ui by then, I end up with the infamous "server
session timed out" screen, so far lacking a real understanding why this
does happen. Can anyone enlighten me here on (a) what is happening
and/or (b) how to track it down?
TIA and all the best,
Kristian
|
|
|
|
Re: RAP, browser widget, cookies and "session timed out"? [message #661536 is a reply to message #659388] |
Fri, 25 March 2011 03:59  |
Eclipse User |
|
|
|
Hi Ralf;
and, first off, thanks a bunch for your message. Finally got some time
to peek into this again...
> The "infamous server session timed out screen" is shown when the
> client receives the initial HTML page for RAP as a response to an
> Ajax request. This in turn happens when the server receives a request
> without a session id (or some request parameters missing).
How does RAP on the client side keep track of the session? Using
JSESSIONID all along with jetty? If so, I have a modestly clear idea
what the problem is (RAP session id and "inner" session id overwriting
each other), but have no real idea how to change things.
> I'd suggest to track all request sent by the browser (e.g. using the
> FireBug addon) and see what happens to the session id. Maybe the
> other servlet changes or invalidates the session for this domain?
Well, yes, played with Firebug and mainly saw a few cookies and session
store ids flying around, but in the end I wasn't really sure what I am
looking for to be honest. Gonna dive deeper into that the next couple
of days...
Meanwhile, thanks a bunch for your time, best regards,
Kristian
|
|
|
Powered by
FUDForum. Page generated in 0.04497 seconds