Reload to logout
Hi everybody,
I want to do a logout mechanism only reloading the page.
The logout is an hyperlink. I have a class MyHistoryListener that
manages the tokens to forward to the right page. If the token is
"logout", I want to reload my page...
The problem is that the reloading goes on "forever" until I stop the
application. Instead if I put a control like this
if( ! History.getToken().equals("logout"){
History.fireCurrentHistoryState();
}
in the onModuleLoad() page, I have that the window do a fake
reloading. I mean I have a blank page with the history equals to
#logout.
Does anyone know how I can obtain one true reloading?
Thanks
--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home