> > So: Is it Good Practice to redirect to a new Page or staying at the same > page When user logged out (GWT)? > I think there is no "the one and only best practice". It kind of depends on the app and what behavior the user expects when working with our app.
Personally I would make sure that the app can reload the current visible page, e.g. if a user sees CustomerPage and then logs out, you reload the CustomerPage. I would only redirect to the homepage if a user does not have permission to see the CustomerPage if logged out. How you reload your page is up to you. I would probably start with Window.Location.reload() because its the easiest to start with. You can always do more sophisticated things if the easy solution starts feeling awkward or you think its not efficient enough (e.g. on mobile devices) -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
