This is feature request, not bug.
I suggest adding simple javascript on all admin pages, that shall
periodically (eg, once in 5 minutes) ping server with some light
requests that shall keep session alive while browser is open.
Currently it is quite annoying to periodically re-login when working on site
for long periods of time.
Increasing session timeout value in web.xml is not practical, as there is no
value big enough, and it also has negative impact cause we have to store more
sessions, which are actually not needed in most cases. Using simple javascript
ping requests we can achieve desired effect even with reduced session timeout.
It could be something like this:
function doPing() {
new Image().src='/some-little-static-image-file.png?r='+Math.random();
}
setInterval(doPing, 5*60000); // once in 5 minutes
Theoretically requesting ststic resource should keep session alive, although
this needs to be tested for GAE.
Regards,
Yaroslav
Original issue reported on code.google.com by yaro...@gmail.com on 25 Feb 2011 at 9:28
Original issue reported on code.google.com by
yaro...@gmail.com
on 25 Feb 2011 at 9:28