WOSession.SessionDidTimeOutNotification oddity (was: app closing method)
WOSession.SessionDidTimeOutNotification oddity (was: app closing method)
- Subject: WOSession.SessionDidTimeOutNotification oddity (was: app closing method)
- From: René Bock <email@hidden>
- Date: Tue, 05 Aug 2014 10:04:14 +0200
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@hidden>:
> You can override WOSession.terminate() or listen for WOSession.SessionDidTimeOutNotification.
>
> Cheers,
> - hugi
>
>
> On 22.7.2014, at 15:26, Theodore Petrosky <email@hidden> 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden