Probably much easier is to just do a client-side timeout using a Timer, not likely worth it to set up server push just for this. Of course any calls to the server should also check whether the timeout has been surpassed, and if so return a response that also times out the page.
On Jun 2, 7:09 pm, rileyscott <[email protected]> wrote: > Hi All, > > I need a session expired notice added to my application. This is > similar to Internet banking websites where they expire your session if > it remains idle for too long. > > When a user's session has expired on the server, then the server will > send a message to the browser. When the browser receives this message > it will display a pop-up message to the user that their session has > expired. > > So effectively, I need a server-push mechanism when the session > expires. I've been researching gwt-comet. It looks promising but not > sure if I'm overthinking the problem. > > Any ideas on how to put together a solution? > > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
