I have a similar requirement than Ted. But my tests shows, that the WOSession.SessionDidTimeOutNotification is send every time a session terminates – regardless if the session was timed out or terminated explicitly . Which is bad, as I only want to take an action on session time out :-(
Am 22.07.2014 um 17:30 schrieb Hugi Thordarson <[email protected]>: > You can override WOSession.terminate() or listen for > WOSession.SessionDidTimeOutNotification. > > Cheers, > - hugi > > > On 22.7.2014, at 15:26, Theodore Petrosky <[email protected]> wrote: > >> If I am in my app, and a session was created, is there a method (that I can >> override) that is called when the session terminates? Specifically, if the >> user closes the window (does not log out), I want to do some cleanup before >> the session disappears totally. >> >> Ted >> regards René Bock -- salient doremus - Lindleystraße 12 60314 Frankfurt Main http://www.salient.de http://www.openforms.de _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
