This posting is older than 6 months and can contain outdated information.
Hello,
The session terminated message only appears if the JavaScript was
unable to get a positive status response for the current session ID
twice in a row. Here's what happens:
1) You log in.
2) Remote Buddy saves the session ID in the log in form as authorized.
3) The session id ("sid") is now transfered with *each* request to
Remote Buddy, authorizing it to access dynamic content.
4) a background timer makes a http query every few seconds for
"sidValid.rmbd?sid=.....".
5) Remote Buddy will either reply with yes (inidicating the session
is authorized) or no (the session is no longer authorized, i.e.
because you restarted Remote Buddy) or not at all (i.e. Remote Buddy
quit or computer or network were shut down). In either of these
cases, the "Session terminated" will appear, so users don't get
confused with nonfunctioning interfaces.
What could help debug this is the debug output you can make Remote
Buddy to generate in Preferences > Hardware > AJAX Remote > Output
accesses and debug info.
Here is the debug info:
2007-07-11 22:54:44.128 Remote Buddy[317] Connecting with 192.168.1.199 ..
2007-07-11 22:54:44.128 Remote Buddy[317] <0x11d6ed0> Connected with 192.168.1.199 ..
2007-07-11 22:54:44.227 Remote Buddy[317] <0x11d6ed0> Received GET request for /TrackPad/viewDesktopSel.png ({
Accept = "text/html, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1";
"Accept-Charset" = "iso-8859-1, utf-8, utf-16, *;q=0.1";
"Accept-Encoding" = "deflate, gzip, x-gzip, identity, *;q=0";
"Accept-Language" = "fr,en;q=0.9";
Connection = "Keep-Alive, TE";
Host = "192.168.1.2:8888";
Referer = "http://192.168.1.2:8888/TrackPad/?sid=54FE3BCD-081A-49B7-B802-5EC21CA9D844";
Te = "deflate, gzip, chunked, identity, trailers";
"User-Agent" = "Mozilla/4.0 (compatible; MSIE 6.0; Nitro) Opera 8.50 [fr]";
} --- viewDesktopSel.png).. (null)
2007-07-11 22:54:44.254 Remote Buddy[317] <0x11d6ed0> Connection closing ..
And then, there's another possibility: the "session terminated" image
is loaded on each and every loaded page (except login of course), but
set to be hidden by default through a CSS attribute (display: none).
If the Nintendo DS ignores that CSS attribute, you'll see it
irrespective of whether the session is actually considered valid or
invalid by actual code.
There are two ways to show a web page with DS Opera:
- general mode, where you can see all the page in one screen, and a zoom of that page in the other screen. In this case no message session terminated is shown, but I can't get anything to work.
- SSR mode, where every thing is shown with the size of the screen. In this case the error message is shown, probably the CSS ignores the attribute.
Here you can find a snapshot for general mode:
http://mezos.free.fr/Documents/images/082231%20Snapshot%201.png
Here, for SSR mode:
http://mezos.free.fr/Documents/images/082209%20Snapshot%201.png
Sorry for the quality, you can bearly see nothing, I'll try get some time to make better shots.
regard.
Jean-Charles.