• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WOSession.SessionDidTimeOutNotification oddity (was: app closing method)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: I'm trying :( WOLips ???
  • Next by Date: Re: D2W app date field is required ???
  • Previous by thread: Re: I'm trying :( WOLips ???
  • Next by thread: Re: WOSession.SessionDidTimeOutNotification oddity (was: app closing method)
  • Index(es):
    • Date
    • Thread