Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How can I disable back, forward, refresh, and close browser

    Hi all,

    How can I disable the browser buttons:
    back, forward, refresh, and close.

    I need to do this because I need the user to use my application logout when ending a session.

    thanks,
    Richard

    #2
    This is not something we have control over. This would be considered a security risk in the browser (as it would allow malicious sites to essentially disallow users from quitting them).

    What you can do is use a GWT window closing event to catch the user navigating away from the page and take some action, such as calling "closingEvent.setMessage()" to display an "Are You Sure?" type message to the user.

    Comment


      #3
      Thanks...will do.

      Comment

      Working...
      X