On Oct 3, 12:31 pm, Haris <harishas...@gmail.com> wrote: > Using Users Service, after filling up login and password and press OK, > onModuleLoad is executed. Basically the gwt module is reloaded. I am > going to loose data entry stuff form the user. > > For instant if someone is typing a forum post and click submit only to > discover that login already timeout. The person relogin using User API > login page > only to discover that the text typed is lost because of this. > > Any suggestion?
AFAICT it really depends how you're wiring GAE authentication within your app. I'm not very familiar with GAE auth but it seems to me you should be able to either: - signal to the user their session expired, without redirecting to the login page (GMail is doing this, at least when offline is enabled; if I was typing a message, then I just open a new tab/window, log in, and then continue in GMail: sessions are based on a cookie, so the next call to the server will contain the "updated" cookie generated in the other tab/window) - do the login in a popup window, with your redirect_to URL signaling the opening window (your app) that the user is successfully logged in (so you can retry the RPC call / form submission) before closing itself. And of course you could combine both for a great UX! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.